1 #ifndef __YAFFS_CONFIG_H__
2 #define __YAFFS_CONFIG_H__
4 #ifdef YAFFS_OUT_OF_TREE
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
11 /* These options are independent of each other. Select those that matter. */
13 /* Default: Not selected */
14 /* Meaning: Yaffs does its own ECC, rather than using MTD ECC */
15 //#define CONFIG_YAFFS_DOES_ECC
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
22 /* Default: Selected */
23 /* Meaning: Disables testing whether chunks are erased before writing to them*/
24 #define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK
26 /* Default: Selected */
27 /* Meaning: Cache short names, taking more RAM, but faster look-ups */
28 #define CONFIG_YAFFS_SHORT_NAMES_IN_RAM
31 /* Meaning: set the count of blocks to reserve for checkpointing */
32 #define YAFFS_CHECKPOINT_RESERVED_BLOCKS 10
34 #endif /* YAFFS_OUT_OF_TREE */
36 #endif /* __YAFFS_CONFIG_H__ */