CFI Flash is currently handled outside the mtd layer which makes it a special case. Integrate it into mtd so that we get rid of this special status. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
29 lines
534 B
Text
29 lines
534 B
Text
menuconfig MTD
|
|
bool "Memory Technology Device (MTD) support"
|
|
|
|
if MTD
|
|
|
|
config MTD_WRITE
|
|
bool
|
|
default y
|
|
prompt "Support writing to MTD devices"
|
|
|
|
config MTD_OOB_DEVICE
|
|
bool
|
|
select NAND_READ_OOB if NAND
|
|
default y
|
|
prompt "Create a device for reading the OOB data"
|
|
|
|
config MTD_RAW_DEVICE
|
|
bool
|
|
select NAND_READ_OOB if NAND
|
|
default n
|
|
prompt "mtdraw device to read/write both data+oob"
|
|
|
|
source "drivers/mtd/devices/Kconfig"
|
|
source "drivers/mtd/nor/Kconfig"
|
|
source "drivers/mtd/nand/Kconfig"
|
|
source "drivers/mtd/ubi/Kconfig"
|
|
|
|
endif
|