1 #ifndef __YAFFS_CONFIG_H__ 2 #define __YAFFS_CONFIG_H__ 3 4 #ifdef YAFFS_OUT_OF_TREE 5 6 /* DO NOT UNSET THESE THREE. YAFFS2 will not compile if you do. */ 7 #define CONFIG_YAFFS_FS 8 #define CONFIG_YAFFS_YAFFS1 9 #define CONFIG_YAFFS_YAFFS2 10 11 /* These options are independent of each other. Select those that matter. */ 12 13 /* Default: Not selected */ 14 /* Meaning: Yaffs does its own ECC, rather than using MTD ECC */ 15 //#define CONFIG_YAFFS_DOES_ECC 16 17 /* Default: Not selected */ 18 /* Meaning: ECC byte order is 'wrong'. Only meaningful if */ 19 /* CONFIG_YAFFS_DOES_ECC is set */ 20 //#define CONFIG_YAFFS_ECC_WRONG_ORDER 21 22 /* Default: Selected */ 23 /* Meaning: Disables testing whether chunks are erased before writing to them*/ 24 #define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK 25 26 /* Default: Selected */ 27 /* Meaning: Cache short names, taking more RAM, but faster look-ups */ 28 #define CONFIG_YAFFS_SHORT_NAMES_IN_RAM 29 30 #endif /* YAFFS_OUT_OF_TREE */ 31 32 #endif /* __YAFFS_CONFIG_H__ */ 33