aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-10 13:46:10 -0500
committerTom Rini <trini@konsulko.com>2024-01-22 14:18:54 -0500
commitdb04ff42c764329c12e96afc4d9f1acf4d44b6d4 (patch)
tree054b4ca78905489c0ef431196e0f5d658293c179 /arch/microblaze
parentcda3f81b06f5cbc6e96a1a4f1e70884fa41ef5a7 (diff)
downloadu-boot-db04ff42c764329c12e96afc4d9f1acf4d44b6d4.zip
u-boot-db04ff42c764329c12e96afc4d9f1acf4d44b6d4.tar.gz
u-boot-db04ff42c764329c12e96afc4d9f1acf4d44b6d4.tar.bz2
mtd: Make CONFIG_MTD be the gate symbol for the menu
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index e38c9f6..4261e50 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -23,6 +23,7 @@ config TARGET_MICROBLAZE_GENERIC
select SYSRESET
select DM_SPI
select DM_SPI_FLASH
+ select MTD
select SPI
imply CMD_DM