2 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
4 * Copyright (C) 2002-2007 Aleph One Ltd.
5 * for Toby Churchill Ltd and Brightstar Engineering
7 * Created by Martin Fouts <Martin.Fouts@palmsource.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License version 2.1 as
11 * published by the Free Software Foundation.
13 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
16 #ifndef __YAFFS_CONFIG_H__
17 #define __YAFFS_CONFIG_H__
19 #ifdef YAFFS_OUT_OF_TREE
21 /* DO NOT UNSET THESE THREE. YAFFS2 will not compile if you do. */
22 #define CONFIG_YAFFS_FS
23 #define CONFIG_YAFFS_YAFFS1
24 #define CONFIG_YAFFS_YAFFS2
26 /* These options are independent of each other. Select those that matter. */
28 /* Default: Not selected */
29 /* Meaning: Yaffs does its own ECC, rather than using MTD ECC */
30 //#define CONFIG_YAFFS_DOES_ECC
32 /* Default: Not selected */
33 /* Meaning: ECC byte order is 'wrong'. Only meaningful if */
34 /* CONFIG_YAFFS_DOES_ECC is set */
35 //#define CONFIG_YAFFS_ECC_WRONG_ORDER
37 /* Default: Selected */
38 /* Meaning: Disables testing whether chunks are erased before writing to them*/
39 #define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK
41 /* Default: Selected */
42 /* Meaning: Cache short names, taking more RAM, but faster look-ups */
43 #define CONFIG_YAFFS_SHORT_NAMES_IN_RAM
46 /* Meaning: set the count of blocks to reserve for checkpointing */
47 #define CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS 10
50 Older-style on-NAND data format has a "pageStatus" byte to record
51 chunk/page state. This byte is zeroed when the page is discarded.
52 Choose this option if you have existing on-NAND data in this format
53 that you need to continue to support. New data written also uses the
55 Note: Use of this option generally requires that MTD's oob layout be
56 adjusted to use the older-style format. See notes on tags formats and
59 /* Default: Not selected */
60 /* Meaning: Use older-style on-NAND data format with pageStatus byte */
61 #define CONFIG_YAFFS_9BYTE_TAGS
63 #endif /* YAFFS_OUT_OF_TREE */
65 #endif /* __YAFFS_CONFIG_H__ */
This page took 0.046535 seconds and 5 git commands to generate.