X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fmtd%2FKconfig;h=5e7571cf3da3f93738fd31921ae01c616bdd49e9;hb=7132d38cbe45015ac5a4b099b2b1f4b656a5d854;hp=37f379d478036c9e1e2b3d64f68c5853ec7e2c7d;hpb=c2dfd0a4d81faeb50aa0cfe36bf1835a40811304;p=oweals%2Fu-boot.git diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 37f379d478..5e7571cf3d 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -4,6 +4,12 @@ config MTD_PARTITIONS bool config MTD + bool "Enable MTD layer" + help + Enable the MTD stack, necessary to interract with NAND, NOR, + SPI-NOR, SPI-NAND, onenand, etc. + +config DM_MTD bool "Enable Driver Model for MTD drivers" depends on DM help @@ -16,12 +22,6 @@ config MTD_NOR_FLASH help Enable support for parallel NOR flash. -config MTD_DEVICE - bool "Enable MTD Device for NAND and ONENAND devices" - help - Adds the MTD device infrastructure from the Linux kernel. - Needed for mtdparts command support. - config FLASH_CFI_DRIVER bool "Enable CFI Flash driver" help @@ -34,7 +34,7 @@ config FLASH_CFI_DRIVER config CFI_FLASH bool "Enable Driver Model for CFI Flash driver" - depends on MTD + depends on DM_MTD help The Common Flash Interface specification was developed by Intel, AMD and other flash manufactures. It provides a universal method @@ -73,7 +73,7 @@ config SYS_FLASH_CFI config ALTERA_QSPI bool "Altera Generic Quad SPI Controller" - depends on MTD + depends on DM_MTD help This enables access to Altera EPCQ/EPCS flash chips using the Altera Generic Quad SPI Controller. The controller converts SPI @@ -82,14 +82,14 @@ config ALTERA_QSPI config FLASH_PIC32 bool "Microchip PIC32 Flash driver" - depends on MACH_PIC32 && MTD + depends on MACH_PIC32 && DM_MTD help This enables access to Microchip PIC32 internal non-CFI flash chips through PIC32 Non-Volatile-Memory Controller. config RENESAS_RPC_HF bool "Renesas RCar Gen3 RPC Hyperflash driver" - depends on RCAR_GEN3 && MTD + depends on RCAR_GEN3 && DM_MTD help This enables access to Hyperflash memory through the Renesas RCar Gen3 RPC controller.