summaryrefslogtreecommitdiff
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-07-07 22:18:22 -0500
committerTom Rini <trini@konsulko.com>2018-07-22 19:20:17 -0400
commit9c5b00973bceb7c0192bd6b03672d69b092700b4 (patch)
treedadc7a414af100765a8adf9fe99f4f33722608ec /drivers/mtd/Kconfig
parent8d0d6bc121ef403ae601920ee29d53fa03cfb4b9 (diff)
downloadu-boot-9c5b00973bceb7c0192bd6b03672d69b092700b4.tar.gz
u-boot-9c5b00973bceb7c0192bd6b03672d69b092700b4.tar.bz2
u-boot-9c5b00973bceb7c0192bd6b03672d69b092700b4.zip
Convert CONFIG_MTD_PARTITIONS et al to Kconfig
This converts the following to Kconfig: CONFIG_MTD_PARTITIONS CONFIG_MTD_DEVICE Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 707359dca1..41f8883ec2 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -13,6 +13,18 @@ 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 MTD_PARTITIONS
+ bool "Add MTD Partioning infrastructure"
+ help
+ Adds the MTD partitioning infrastructure from the Linux
+ kernel. Needed for UBI support.
+
config CFI_FLASH
bool "Enable Driver Model for CFI Flash driver"
depends on MTD