Wide tnode support
[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_CHUNK_ERASED_CHECK
62         bool "Turn off debug chunk erase check"
63         depends on YAFFS_FS
64         default y
65         help
66           Enabling this turns off the test that chunks are erased in flash
67           before writing to them.  This is safe, since the write verification
68           will fail.  Suggest enabling the test (ie. say N)
69           during development to help debug things.
70
71           If unsure, say Y.
72
73 config YAFFS_SHORT_NAMES_IN_RAM
74         bool "Cache short names in RAM"
75         depends on YAFFS_FS
76         default y
77         help
78           If this config is set, then short names are stored with the
79           yaffs_Object.  This costs an extra 16 bytes of RAM per object,
80           but makes look-ups faster.
81
82           If unsure, say Y.