[MTD] Add initial support for OneNAND flash chips
[powerpc.git] / drivers / mtd / onenand / Kconfig
diff --git a/drivers/mtd/onenand/Kconfig b/drivers/mtd/onenand/Kconfig
new file mode 100644 (file)
index 0000000..7d76ede
--- /dev/null
@@ -0,0 +1,32 @@
+#
+# linux/drivers/mtd/onenand/Kconfig
+#
+
+menu "OneNAND Flash Device Drivers (EXPERIMENTAL)"
+       depends on MTD != n && EXPERIMENTAL
+
+config MTD_ONENAND
+       tristate "OneNAND Device Support"
+       depends on MTD
+       help
+         This enables support for accessing all type of OneNAND flash
+         devices. For further information see
+         <http://www.samsung.com/Products/Semiconductor/Flash/OneNAND_TM/index.htm>.
+
+config MTD_ONENAND_VERIFY_WRITE
+       bool "Verify OneNAND page writes"
+       depends on MTD_ONENAND
+       help
+         This adds an extra check when data is written to the flash. The
+         OneNAND flash device internally checks only bits transitioning
+         from 1 to 0. There is a rare possibility that even though the
+         device thinks the write was successful, a bit could have been
+         flipped accidentaly due to device wear or something else.
+
+config MTD_ONENAND_OMAP
+       tristate "OneNAND Flash device on OMAP board"
+       depends on ARCH_OMAP && MTD_ONENAND
+       help
+         Support for OneNAND flash on TI OMAP board.
+
+endmenu