Allow the disabling of tags ECC
[yaffs2.git] / Kconfig
diff --git a/Kconfig b/Kconfig
index de151639019fa5d9f93df20ea5b67c59529e5954..1d3bb715e6e09ad4854dba7a43ca1e07ecb667a1 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -5,7 +5,7 @@
 config YAFFS_FS
        tristate "YAFFS2 file system support"
        default n
-       depends on MTD
+       depends on MTD_BLOCK
        select YAFFS_YAFFS1
        select YAFFS_YAFFS2
        help
@@ -90,6 +90,18 @@ config YAFFS_AUTO_YAFFS2
 
          If unsure, say Y.
 
+config YAFFS_DISABLE_TAGS_ECC
+       bool "Disable YAFFS from doing ECC on tags by default"
+       depends on YAFFS_FS && YAFFS_YAFFS2
+       default n
+       help
+         This defaults Yaffs to using its own ECC calculations on tags instead of
+         just relying on the MTD.
+         This behavior can also be overridden with tags_ecc_on and
+         tags_ecc_off mount options.
+
+         If unsure, say N.
+
 config YAFFS_DISABLE_LAZY_LOAD
        bool "Disable lazy loading"
        depends on YAFFS_YAFFS2