Hook wide tnode support into Linux
[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         select YAFFS_YAFFS1
9         select YAFFS_YAFFS2
10         help
11           YAFFS2, or Yet Another Flash Filing System, is a filing system
12           optimised for NAND Flash chips.
13
14           To compile the YAFFS2 file system support as a module, choose M here:
15           the module will be called yaffs2.
16
17           If unsure, say N.
18
19           Further information on YAFFS2 is available at
20           <http://www.aleph1.co.uk/yaffs/>.
21
22 config YAFFS_YAFFS1
23         bool "512 byte / page devices"
24         depends on YAFFS_FS
25         default y
26         help
27           Enable YAFFS1 support -- yaffs for 512 byte / page devices
28
29           If unsure, say Y.
30
31 config YAFFS_DOES_ECC
32         bool "Lets Yaffs do its own ECC"
33         depends on YAFFS_FS && YAFFS_YAFFS1
34         default n
35         help
36           This enables Yaffs to use its own ECC functions instead of using
37           the ones from the generic MTD-NAND driver.
38
39           If unsure, say N.
40
41 config YAFFS_ECC_WRONG_ORDER
42         bool "Use the same ecc byte order as Steven Hill's nand_ecc.c"
43         depends on YAFFS_FS && YAFFS_DOES_ECC
44         default n
45         help
46           This makes yaffs_ecc.c use the same ecc byte order as
47           Steven Hill's nand_ecc.c. If not set, then you get the
48           same ecc byte order as SmartMedia.
49
50           If unsure, say N.
51
52 config YAFFS_YAFFS2
53         bool "2048 byte (or larger) / page devices"
54         depends on YAFFS_FS
55         default y
56         help
57           Enable YAFFS2 support -- yaffs for >= 2048 byte / page larger devices
58
59           If unsure, say Y.
60
61 config YAFFS_DISABLE_WIDE_TNODES
62         bool "Turn off wide tnodes"
63         depends on YAFFS_FS
64         default n
65         help
66           Wide tnodes are only used for large NAND arrays (>=32MB for
67           512-byte page devices and >=128MB for 2k page devices). They use 
68           slightly more RAM but are faster since they eliminate chunk group
69           searching.
70
71           Setting this to 'y' will force tnode width to 16 bits and make
72           large arrays slower.
73
74           If unsure, say N.
75
76 config YAFFS_DISABLE_CHUNK_ERASED_CHECK
77         bool "Turn off debug chunk erase check"
78         depends on YAFFS_FS
79         default y
80         help
81           Enabling this turns off the test that chunks are erased in flash
82           before writing to them.  This is safe, since the write verification
83           will fail.  Suggest enabling the test (ie. say N)
84           during development to help debug things.
85
86           If unsure, say Y.
87
88 config YAFFS_SHORT_NAMES_IN_RAM
89         bool "Cache short names in RAM"
90         depends on YAFFS_FS
91         default y
92         help
93           If this config is set, then short names are stored with the
94           yaffs_Object.  This costs an extra 16 bytes of RAM per object,
95           but makes look-ups faster.
96
97           If unsure, say Y.