Complete shadowing
[yaffs2.git] / Kconfig
1 #
2 # YAFFS file system configurations
3 #
4
5 config YAFFS_FS
6         tristate "YAFFS2 file system support"
7         default n
8         help
9           YAFFS2, or Yet Another Flash Filing System, is a filing system
10           optimised for NAND Flash chips.
11
12           To compile the YAFFS2 file system support as a module, choose M here:
13           the module will be called yaffs2.
14
15           If unsure, say N.
16
17           Further information on YAFFS2 is available at
18           <http://www.aleph1.co.uk/yaffs/>.
19
20 config YAFFS_YAFFS1
21         bool "512 byte / page devices"
22         depends on YAFFS_FS
23         default y
24         help
25           Enable YAFFS1 support -- yaffs for 512 byte / page devices
26
27           If unsure, say Y.
28
29 config YAFFS_DOES_ECC
30         bool "Lets Yaffs do its own ECC"
31         depends on YAFFS_FS && YAFFS_YAFFS1
32         default n
33         help
34           This enables Yaffs to use its own ECC functions instead of using
35           the ones from the generic MTD-NAND driver.
36
37           If unsure, say N.
38
39 config YAFFS_ECC_WRONG_ORDER
40         bool "Use the same ecc byte order as Steven Hill's nand_ecc.c"
41         depends on YAFFS_FS && YAFFS_DOES_ECC
42         default n
43         help
44           This makes yaffs_ecc.c use the same ecc byte order as
45           Steven Hill's nand_ecc.c. If not set, then you get the
46           same ecc byte order as SmartMedia.
47
48           If unsure, say N.
49
50 config YAFFS_YAFFS2
51         bool "2048 byte (or larger) / page devices"
52         depends on YAFFS_FS
53         default y
54         help
55           Enable YAFFS2 support -- yaffs for >= 2048 byte / page larger devices
56
57           If unsure, say Y.
58
59 config YAFFS_DISABLE_CHUNK_ERASED_CHECK
60         bool "Turn off debug chunk erase check"
61         depends on YAFFS_FS
62         default y
63         help
64           Enabling this turns off the test that chunks are erased in flash
65           before writing to them.  This is safe, since the write verification
66           will fail.  Suggest enabling the test (ie. say N)
67           during development to help debug things.
68
69           If unsure, say Y.
70
71 config YAFFS_SHORT_NAMES_IN_RAM
72         bool "Cache short names in RAM"
73         depends on YAFFS_FS
74         default y
75         help
76           If this config is set, then short names are stored with the
77           yaffs_Object.  This costs an extra 16 bytes of RAM per object,
78           but makes look-ups faster.
79
80           If unsure, say Y.