[PATCH v2 17/17] drivers:mtd:ubi: Kconfig Makefile
Bean Huo
jackyard88 at gmail.com
Mon Feb 1 18:30:52 PST 2016
From: Bean Huo <beanhuo at micron.com>
Signed-off-by: BeanHuo <beanhuo at micron.com>
---
drivers/mtd/ubi/Kconfig | 15 +++++++++++++++
drivers/mtd/ubi/Makefile | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index f0855ce..d9f01fa 100644
--- a/drivers/mtd/ubi/Kconfig
+++ b/drivers/mtd/ubi/Kconfig
@@ -77,6 +77,21 @@ config MTD_UBI_FASTMAP
If in doubt, say "N".
+config MTD_UBI_MLC_NAND_BAKVOL
+ bool "UBI solution for NAND pair page (Experimental feature)"
+ default n
+ help
+ This used for MLC NAND paired page power-cut protection.
+
+ MLC NAND paired page power loss is a known issue so far.
+ Namely, MLC NAND pages are coupled in a sense that if you cut
+ power while writing to a page, you corrupt not only this page,
+ but also one of the previous pages which is paired with the current
+ one. More detail information,please refer to follwoing link:
+ http://www.linux-mtd.infradead.org/doc/ubifs.html
+
+ If in doubt, say "N".
+
config MTD_UBI_GLUEBI
tristate "MTD devices emulation driver (gluebi)"
help
diff --git a/drivers/mtd/ubi/Makefile b/drivers/mtd/ubi/Makefile
index 4e3c3d7..6bd78aa 100644
--- a/drivers/mtd/ubi/Makefile
+++ b/drivers/mtd/ubi/Makefile
@@ -1,6 +1,6 @@
obj-$(CONFIG_MTD_UBI) += ubi.o
-ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o
+ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o bakvol.o
ubi-y += misc.o debug.o
ubi-$(CONFIG_MTD_UBI_FASTMAP) += fastmap.o
ubi-$(CONFIG_MTD_UBI_BLOCK) += block.o
--
1.9.1
More information about the linux-mtd
mailing list