859f745903af00a92f4a314be50d6dc4f85573f1
[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_YAFFS2
30         bool "2048 byte (or larger) / page devices"
31         depends on YAFFS_FS
32         default y
33         help
34           Enable YAFFS2 support -- yaffs for >= 2048 byte / page larger devices
35
36           If unsure, say Y.
37
38 config YAFFS_USE_NANDECC
39         bool "Use ECC functions of the generic MTD-NAND driver"
40         depends on YAFFS_FS
41         default y
42         help
43           This enables the ECC functions of the generic MTD-NAND driver.
44           This will not work if you are using the old mtd.
45
46           NB Use NAND ECC does not work at present with yaffsram.
47
48           If unsure, say Y.
49
50 config YAFFS_ECC_WRONG_ORDER
51         bool "Use the same ecc byte order as Steven Hill's nand_ecc.c"
52         depends on YAFFS_FS && !YAFFS_USE_NANDECC
53         help
54           This makes yaffs_ecc.c use the same ecc byte order as
55           Steven Hill's nand_ecc.c. If not set, then you get the
56           same ecc byte order as SmartMedia.
57
58           If unsure, say N.
59
60 config YAFFS_DISABLE_CHUNK_ERASED_CHECK
61         bool "Turn off debug chunk erase check"
62         depends on YAFFS_FS
63         default y
64         help
65           Enabling this turns off the test that chunks are erased in flash
66           before writing to them.  This is safe, since the write verification
67           will fail.  Suggest enabling the test (ie. say N)
68           during development to help debug things.
69
70           If unsure, say Y.
71
72 config YAFFS_SHORT_NAMES_IN_RAM
73         bool "Cache short names in RAM"
74         depends on YAFFS_FS
75         default y
76         help
77           If this config is set, then short names are stored with the
78           yaffs_Object.  This costs an extra 16 bytes of RAM per object,
79           but makes look-ups faster.
80
81           If unsure, say Y.