+# CONFIG_YAFFS_USE_OLD_MTD
+# Enable this to use the old MTD stuff that did not have yaffs support.
+# You can use this to get around compilation problems, but the best
+# thing to do is to upgrade your MTD support. You will get better speed.
+
+#USE_OLD_MTD = -DCONFIG_YAFFS_USE_OLD_MTD
+
+# CONFIG_YAFFS_USE_NANDECC
+# This enables the ECC functions of the generic MTD-NAND driver.
+# This will not work if you are using the old mtd.
+#
+# NB UseNANDECC does not work at present with yaffsram.
+
+USE_NANDECC = -DCONFIG_YAFFS_USE_NANDECC
+
+# CONFIG_YAFFS_ECC_WRONG_ORDER
+# This makes yaffs_ecc.c use the same ecc byte order as
+# Steven Hill's nand_ecc.c. If not set, then you get the
+# same ecc byte order as SmartMedia.
+
+#USE_WRONGECC = -DCONFIG_YAFFS_ECC_WRONG_ORDER
+