The mtd concat layer supports concatenating several MTD devices into a single one. This is nearly as-is from the corresponding Kernel code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
40 lines
934 B
Text
40 lines
934 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"
|
|
|
|
config MTD_CONCAT
|
|
bool
|
|
prompt "MTD concatenating support"
|
|
help
|
|
Support for concatenating several MTD devices into a single
|
|
(virtual) one. This allows you to have -for example- a JFFS(2)
|
|
file system spanning multiple physical flash chips. This option
|
|
needs driver support, currently only the cfi-flash driver supports
|
|
concatenating MTD devices.
|
|
|
|
source "drivers/mtd/devices/Kconfig"
|
|
source "drivers/mtd/nor/Kconfig"
|
|
source "drivers/mtd/nand/Kconfig"
|
|
source "drivers/mtd/spi-nor/Kconfig"
|
|
source "drivers/mtd/ubi/Kconfig"
|
|
|
|
endif
|