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