diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2011-12-21 22:30:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-22 10:11:11 +0100 |
commit | fb44dd696e613c2b5356b6ed9c25fcec15995477 (patch) | |
tree | 1dab92a82b53181165ba7973deb60d50cf981859 /drivers/mtd/Kconfig | |
parent | 6473b28065ba07100ea4409fd72b79d1d2db679b (diff) | |
download | barebox-fb44dd696e613c2b5356b6ed9c25fcec15995477.tar.gz barebox-fb44dd696e613c2b5356b6ed9c25fcec15995477.tar.xz |
drivers/mtd: add the mtdraw device (data+oob)
Add a device to read and write to MTD data and oob
(/dev/mtdraw<N>).
The device is constrained in a separate source file, so that
further improvement of commands (such as nandwrite) could
make it useless, and easy to remove.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r-- | drivers/mtd/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index a130c74d11..9137cdee15 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -14,6 +14,12 @@ config MTD_OOB_DEVICE default y prompt "Create a device for reading the OOB data" +config MTD_RAW_DEVICE + bool + select NAND_READ_OOB + default n + prompt "mtdraw device to read/write both data+oob" + source "drivers/mtd/nand/Kconfig" source "drivers/mtd/ubi/Kconfig" |