summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-01-22 13:30:23 -0500
committerTom Rini <[email protected]>2024-01-22 14:18:55 -0500
commit15e7927b5a2d33666af19879577bf0c30ab088fe (patch)
tree054b4ca78905489c0ef431196e0f5d658293c179 /drivers
parent33e06dcbe57a16e4f8b5b94dd8a3f89b87db2487 (diff)
parentdb04ff42c764329c12e96afc4d9f1acf4d44b6d4 (diff)
Merge patch series "omap3: Make SPL_OMAP3_ID_NAND depend on NAND_OMAP_GPMC"
This series results in making it such that with CONFIG_MTD disabled we then do not prompt the user for a number of memory technology device related options and so clean up our configuration menu / display.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index c56840c8497..4fdc9645d08 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -9,6 +9,8 @@ config MTD
Enable the MTD stack, necessary to interact with NAND, NOR,
SPI-NOR, SPI-NAND, OneNAND, etc.
+if MTD
+
config DM_MTD
bool "Enable Driver Model for MTD drivers"
depends on DM
@@ -24,7 +26,6 @@ config MTD_NOR_FLASH
config MTD_CONCAT
bool "Enable MTD device concatenation"
- depends on MTD
help
Enable support for concatenating multiple physical MTD devices
into a single logical device. The larger logical device can then
@@ -32,7 +33,6 @@ config MTD_CONCAT
config SYS_MTDPARTS_RUNTIME
bool "Allow MTDPARTS to be configured at runtime"
- depends on MTD
help
This option allows to call the function board_mtdparts_default to
dynamically build the variables mtdids and mtdparts at runtime.
@@ -272,4 +272,6 @@ source "drivers/mtd/ubi/Kconfig"
source "drivers/mtd/nvmxip/Kconfig"
+endif
+
endmenu