diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-10 13:46:10 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-22 14:18:54 -0500 |
commit | db04ff42c764329c12e96afc4d9f1acf4d44b6d4 (patch) | |
tree | 054b4ca78905489c0ef431196e0f5d658293c179 /arch/arm/Kconfig | |
parent | cda3f81b06f5cbc6e96a1a4f1e70884fa41ef5a7 (diff) | |
download | u-boot-db04ff42c764329c12e96afc4d9f1acf4d44b6d4.tar.gz u-boot-db04ff42c764329c12e96afc4d9f1acf4d44b6d4.tar.bz2 u-boot-db04ff42c764329c12e96afc4d9f1acf4d44b6d4.zip |
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/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index efb705375b..abd7c6c79a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -614,6 +614,7 @@ config ARCH_MVEBU select DM_SPI select DM_SPI_FLASH select GPIO_EXTRA_HEADER + select MTD select SPL_DM_SPI if SPL select SPL_DM_SPI_FLASH if SPL select SPL_TIMER if SPL @@ -639,6 +640,7 @@ config TARGET_STV0991 select DM_SPI_FLASH select GPIO_EXTRA_HEADER select PL01X_SERIAL + select MTD select SPI select SPI_FLASH imply CMD_DM @@ -724,6 +726,7 @@ config ARCH_EXYNOS select DM_SERIAL select DM_SPI select DM_SPI_FLASH + select MTD select SPI select GPIO_EXTRA_HEADER imply SYS_THUMB_BUILD @@ -1008,6 +1011,7 @@ config ARCH_APPLE select VIDEO select IOMMU select LINUX_KERNEL_IMAGE_HEADER + select MTD select OF_BOARD_SETUP select OF_CONTROL select PCI @@ -1120,6 +1124,7 @@ config ARCH_SOCFPGA imply DM_SPI imply DM_SPI_FLASH imply FAT_WRITE + imply MTD imply SPL imply SPL_DM imply SPL_DM_SPI @@ -1143,7 +1148,7 @@ config ARCH_SUNXI select DM_GPIO select DM_I2C if I2C select DM_SPI if SPI - select DM_SPI_FLASH if SPI + select DM_SPI_FLASH if SPI && MTD select DM_KEYBOARD select DM_MMC if MMC select DM_SERIAL @@ -1261,6 +1266,7 @@ config ARCH_ZYNQ select DM_SPI select DM_SPI_FLASH select OF_CONTROL + select MTD select SPI select SPL_BOARD_INIT if SPL select SPL_CLK if SPL @@ -1299,6 +1305,7 @@ config ARCH_ZYNQMP imply DM_MAILBOX select DM_MMC if MMC select DM_SERIAL + select MTD select DM_SPI if SPI select DM_SPI_FLASH if DM_SPI imply FIRMWARE @@ -1845,6 +1852,7 @@ config TARGET_SL28 select DM_GPIO select DM_I2C select DM_MMC + select MTD select DM_SPI_FLASH select DM_MDIO select PCI @@ -1989,6 +1997,7 @@ config ARCH_ROCKCHIP select DM_USB_GADGET if USB_DWC3_GADGET select ENABLE_ARM_SOC_BOOT0_HOOK select OF_CONTROL + select MTD select SPI select SPL_DM if SPL select SPL_DM_SPI if SPL |