mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
The help for CONFIG_MTD explains that it needs to be enabled for various things like NAND, etc to be available. It however then doesn't enforce this dependency and so if you have none of these systems present you still need to disable a number of options. Fix this by making places that select/imply one type of flash, but did not do the same, also do this for "MTD". Make boards which hadn't been enabling MTD already but need it now, do so. In a few places, disable CONFIG_CMD_MTDPARTS as it wasn't previously enabled but was now being implied. Signed-off-by: Tom Rini <trini@konsulko.com>
35 lines
594 B
Text
35 lines
594 B
Text
menu "MicroBlaze architecture"
|
|
depends on MICROBLAZE
|
|
|
|
config SYS_ARCH
|
|
default "microblaze"
|
|
|
|
config STATIC_RELA
|
|
def_bool y
|
|
|
|
choice
|
|
prompt "Target select"
|
|
optional
|
|
|
|
config TARGET_MICROBLAZE_GENERIC
|
|
bool "Support microblaze-generic"
|
|
select BOARD_LATE_INIT
|
|
select DM
|
|
select DM_SERIAL
|
|
select OF_CONTROL
|
|
select SUPPORT_SPL
|
|
select SPL_LIBCOMMON_SUPPORT if SPL
|
|
select SPL_LIBGENERIC_SUPPORT if SPL
|
|
select SYSRESET
|
|
select DM_SPI
|
|
select DM_SPI_FLASH
|
|
select MTD
|
|
select SPI
|
|
imply CMD_DM
|
|
|
|
endchoice
|
|
|
|
source "board/xilinx/Kconfig"
|
|
source "board/xilinx/microblaze-generic/Kconfig"
|
|
|
|
endmenu
|