Mercurial > yaffs-ecoscentric
annotate moduleconfig.h @ 248:a8738fee77c1
Restructure tests
| author | charles |
|---|---|
| date | Sun, 04 Jan 2009 21:44:24 +0000 |
| parents | f95fdc6123fb |
| children | c8620405d086 |
| rev | line source |
|---|---|
| 174 | 1 /* |
|
205
f95fdc6123fb
Cleanup patch - Remove all trailing whitespace and fix a few typos.
wookey
parents:
190
diff
changeset
|
2 * YAFFS: Yet another Flash File System . A NAND-flash specific file system. |
| 174 | 3 * |
| 4 * Copyright (C) 2002-2007 Aleph One Ltd. | |
| 5 * for Toby Churchill Ltd and Brightstar Engineering | |
| 6 * | |
|
205
f95fdc6123fb
Cleanup patch - Remove all trailing whitespace and fix a few typos.
wookey
parents:
190
diff
changeset
|
7 * Created by Martin Fouts <Martin.Fouts@palmsource.com> |
| 174 | 8 * |
| 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. | |
| 12 * | |
| 13 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. | |
| 14 */ | |
| 15 | |
|
83
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
16 #ifndef __YAFFS_CONFIG_H__ |
|
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
17 #define __YAFFS_CONFIG_H__ |
|
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
18 |
| 88 | 19 #ifdef YAFFS_OUT_OF_TREE |
|
92
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
20 |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
21 /* DO NOT UNSET THESE THREE. YAFFS2 will not compile if you do. */ |
|
83
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
22 #define CONFIG_YAFFS_FS |
|
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
23 #define CONFIG_YAFFS_YAFFS1 |
|
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
24 #define CONFIG_YAFFS_YAFFS2 |
|
92
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
25 |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
26 /* These options are independent of each other. Select those that matter. */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
27 |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
28 /* Default: Not selected */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
29 /* Meaning: Yaffs does its own ECC, rather than using MTD ECC */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
30 //#define CONFIG_YAFFS_DOES_ECC |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
31 |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
32 /* Default: Not selected */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
33 /* Meaning: ECC byte order is 'wrong'. Only meaningful if */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
34 /* CONFIG_YAFFS_DOES_ECC is set */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
35 //#define CONFIG_YAFFS_ECC_WRONG_ORDER |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
36 |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
37 /* Default: Selected */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
38 /* Meaning: Disables testing whether chunks are erased before writing to them*/ |
|
83
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
39 #define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK |
|
92
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
40 |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
41 /* Default: Selected */ |
|
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
42 /* Meaning: Cache short names, taking more RAM, but faster look-ups */ |
|
83
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
43 #define CONFIG_YAFFS_SHORT_NAMES_IN_RAM |
|
92
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
44 |
| 171 | 45 /* Default: 10 */ |
| 46 /* Meaning: set the count of blocks to reserve for checkpointing */ | |
| 185 | 47 #define CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS 10 |
| 48 | |
| 49 /* | |
| 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 | |
| 54 older-style format. | |
| 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 | |
|
190
31b2ee96d3a0
Update comments about use of CONFIG_YAFFS_9BYTE_TAGS option.
imcd
parents:
188
diff
changeset
|
57 MTD versions in yaffs_mtdif1.c. |
| 185 | 58 */ |
| 59 /* Default: Not selected */ | |
| 60 /* Meaning: Use older-style on-NAND data format with pageStatus byte */ | |
| 188 | 61 //#define CONFIG_YAFFS_9BYTE_TAGS |
| 171 | 62 |
|
92
31598d35e840
Added some documentation to moduleconfig.h and set it to match the
marty
parents:
88
diff
changeset
|
63 #endif /* YAFFS_OUT_OF_TREE */ |
|
83
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
64 |
|
51cad800e99c
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
marty
parents:
diff
changeset
|
65 #endif /* __YAFFS_CONFIG_H__ */ |
