annotate Kconfig @ 416:4cda507d908e

yaffs Clean up compilation warning Don't compile unused functions. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
author Charles Manning <cdhmanning@gmail.com>
date Thu, 29 Apr 2010 13:35:30 +1200
parents d94b1449bddc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
1 #
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
2 # YAFFS file system configurations
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
3 #
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
4
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
5 config YAFFS_FS
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
6 tristate "YAFFS2 file system support"
53
9568724a7a82 Add missing default value for some Kconfig's entries.
luc <luc>
parents: 50
diff changeset
7 default n
263
2e131ae294c2 Fix dependencies in Kconfig
charles <charles>
parents: 198
diff changeset
8 depends on MTD_BLOCK
89
b4b0f79124e4 Added some documentation to moduleconfig.h and set it to match the
marty <marty>
parents: 62
diff changeset
9 select YAFFS_YAFFS1
b4b0f79124e4 Added some documentation to moduleconfig.h and set it to match the
marty <marty>
parents: 62
diff changeset
10 select YAFFS_YAFFS2
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
11 help
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
12 YAFFS2, or Yet Another Flash Filing System, is a filing system
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
13 optimised for NAND Flash chips.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
14
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
15 To compile the YAFFS2 file system support as a module, choose M
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
16 here: the module will be called yaffs2.
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
17
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
18 If unsure, say N.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
19
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
20 Further information on YAFFS2 is available at
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
21 <http://www.aleph1.co.uk/yaffs/>.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
22
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
23 config YAFFS_YAFFS1
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
24 bool "512 byte / page devices"
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
25 depends on YAFFS_FS
53
9568724a7a82 Add missing default value for some Kconfig's entries.
luc <luc>
parents: 50
diff changeset
26 default y
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
27 help
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
28 Enable YAFFS1 support -- yaffs for 512 byte / page devices
198
b7f785925166 Cleanup patch - Remove all trailing whitespace and fix a few typos.
wookey <wookey>
parents: 196
diff changeset
29
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
30 Not needed for 2K-page devices.
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
31
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
32 If unsure, say Y.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
33
179
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
34 config YAFFS_9BYTE_TAGS
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
35 bool "Use older-style on-NAND data format with pageStatus byte"
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
36 depends on YAFFS_YAFFS1
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
37 default n
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
38 help
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
39
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
40 Older-style on-NAND data format has a "pageStatus" byte to record
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
41 chunk/page state. This byte is zero when the page is discarded.
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
42 Choose this option if you have existing on-NAND data using this
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
43 format that you need to continue to support. New data written
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
44 also uses the older-style format. Note: Use of this option
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
45 generally requires that MTD's oob layout be adjusted to use the
184
35ef89b77a94 Update comments about use of CONFIG_YAFFS_9BYTE_TAGS option.
imcd <imcd>
parents: 179
diff changeset
46 older-style format. See notes on tags formats and MTD versions
35ef89b77a94 Update comments about use of CONFIG_YAFFS_9BYTE_TAGS option.
imcd <imcd>
parents: 179
diff changeset
47 in yaffs_mtdif1.c.
179
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
48
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
49 If unsure, say N.
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
50
61
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
51 config YAFFS_DOES_ECC
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
52 bool "Lets Yaffs do its own ECC"
179
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
53 depends on YAFFS_FS && YAFFS_YAFFS1 && !YAFFS_9BYTE_TAGS
61
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
54 default n
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
55 help
61
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
56 This enables Yaffs to use its own ECC functions instead of using
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
57 the ones from the generic MTD-NAND driver.
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
58
61
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
59 If unsure, say N.
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
60
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
61 config YAFFS_ECC_WRONG_ORDER
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
62 bool "Use the same ecc byte order as Steven Hill's nand_ecc.c"
179
2c3cea26b1ca Rolling in Ians and other changes
charles <charles>
parents: 168
diff changeset
63 depends on YAFFS_FS && YAFFS_DOES_ECC && !YAFFS_9BYTE_TAGS
61
49f66fca0b09 newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc <luc>
parents: 53
diff changeset
64 default n
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
65 help
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
66 This makes yaffs_ecc.c use the same ecc byte order as Steven
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
67 Hill's nand_ecc.c. If not set, then you get the same ecc byte
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
68 order as SmartMedia.
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
69
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
70 If unsure, say N.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
71
62
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
72 config YAFFS_YAFFS2
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
73 bool "2048 byte (or larger) / page devices"
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
74 depends on YAFFS_FS
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
75 default y
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
76 help
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
77 Enable YAFFS2 support -- yaffs for >= 2K bytes per page devices
62
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
78
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
79 If unsure, say Y.
6bbd34cee11c Move around the option in Kconfig so that depending stuff are nicely indented.
luc <luc>
parents: 61
diff changeset
80
108
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
81 config YAFFS_AUTO_YAFFS2
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
82 bool "Autoselect yaffs2 format"
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
83 depends on YAFFS_YAFFS2
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
84 default y
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
85 help
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
86 Without this, you need to explicitely use yaffs2 as the file
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
87 system type. With this, you can say "yaffs" and yaffs or yaffs2
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
88 will be used depending on the device page size (yaffs on
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
89 512-byte page devices, yaffs2 on 2K page devices).
108
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
90
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
91 If unsure, say Y.
4a8113f1c36b Add yaffs2 autoselection
charles <charles>
parents: 104
diff changeset
92
300
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
93 config YAFFS_DISABLE_TAGS_ECC
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
94 bool "Disable YAFFS from doing ECC on tags by default"
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
95 depends on YAFFS_FS && YAFFS_YAFFS2
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
96 default n
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
97 help
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
98 This defaults Yaffs to using its own ECC calculations on tags instead of
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
99 just relying on the MTD.
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
100 This behavior can also be overridden with tags_ecc_on and
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
101 tags_ecc_off mount options.
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
102
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
103 If unsure, say N.
4d9d442da93f Allow the disabling of tags ECC
charles <charles>
parents: 263
diff changeset
104
165
c2f9b707a39e Add Phils checkpoint configuration
charles <charles>
parents: 142
diff changeset
105
104
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
106 config YAFFS_DISABLE_WIDE_TNODES
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
107 bool "Turn off wide tnodes"
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
108 depends on YAFFS_FS
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
109 default n
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
110 help
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
111 Wide tnodes are only used for NAND arrays >=32MB for 512-byte
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
112 page devices and >=128MB for 2k page devices. They use slightly
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
113 more RAM but are faster since they eliminate chunk group
104
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
114 searching.
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
115
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
116 Setting this to 'y' will force tnode width to 16 bits and save
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
117 memory but make large arrays slower.
104
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
118
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
119 If unsure, say N.
8d952dff2dff Hook wide tnode support into Linux
charles <charles>
parents: 89
diff changeset
120
142
34ac1a735230 Better retirement and erasure checking.
charles <charles>
parents: 121
diff changeset
121 config YAFFS_ALWAYS_CHECK_CHUNK_ERASED
34ac1a735230 Better retirement and erasure checking.
charles <charles>
parents: 121
diff changeset
122 bool "Force chunk erase check"
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
123 depends on YAFFS_FS
142
34ac1a735230 Better retirement and erasure checking.
charles <charles>
parents: 121
diff changeset
124 default n
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
125 help
142
34ac1a735230 Better retirement and erasure checking.
charles <charles>
parents: 121
diff changeset
126 Normally YAFFS only checks chunks before writing until an erased
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
127 chunk is found. This helps to detect any partially written
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
128 chunks that might have happened due to power loss.
142
34ac1a735230 Better retirement and erasure checking.
charles <charles>
parents: 121
diff changeset
129
34ac1a735230 Better retirement and erasure checking.
charles <charles>
parents: 121
diff changeset
130 Enabling this forces on the test that chunks are erased in flash
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
131 before writing to them. This takes more time but is potentially
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
132 a bit more secure.
198
b7f785925166 Cleanup patch - Remove all trailing whitespace and fix a few typos.
wookey <wookey>
parents: 196
diff changeset
133
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 165
diff changeset
134 Suggest setting Y during development and ironing out driver
198
b7f785925166 Cleanup patch - Remove all trailing whitespace and fix a few typos.
wookey <wookey>
parents: 196
diff changeset
135 issues etc. Suggest setting to N if you want faster writing.
50
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
136
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
137 If unsure, say Y.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
138
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
139 config YAFFS_SHORT_NAMES_IN_RAM
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
140 bool "Cache short names in RAM"
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
141 depends on YAFFS_FS
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
142 default y
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
143 help
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
144 If this config is set, then short names are stored with the
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
145 yaffs_Object. This costs an extra 16 bytes of RAM per object,
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
146 but makes look-ups faster.
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
147
bcf056049698 Added files that support the ability to "patchin" yaffs2 into the 2.6
marty <marty>
parents:
diff changeset
148 If unsure, say Y.
311
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
149
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
150 config YAFFS_EMPTY_LOST_AND_FOUND
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
151 bool "Empty lost and found on boot"
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
152 depends on YAFFS_FS
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
153 default n
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
154 help
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
155 If this is enabled then the contents of lost and found is
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
156 automatically dumped at mount.
97a4bd3d225e Add fix for hanging objects
charles <charles>
parents: 300
diff changeset
157
374
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
158 If unsure, say N.
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
159
365
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
160 config YAFFS_DISABLE_BLOCK_REFRESHING
373
59862f4bbd87 Fix typo
charles <charles>
parents: 365
diff changeset
161 bool "Disable yaffs2 block refreshing"
365
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
162 depends on YAFFS_FS
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
163 default n
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
164 help
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
165 If this is set, then block refreshing is disabled.
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
166 Block refreshing infrequently refreshes the oldest block in
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
167 a yaffs2 file system. This mechanism helps to refresh flash to
db12031081bc Add block refreshing feature
charles <charles>
parents: 311
diff changeset
168 mitigate against data loss. This is particularly useful for MLC.
374
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
169
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
170 If unsure, say N.
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
171
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
172 config YAFFS_DISABLE_BACKGROUND
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
173 bool "Disable yaffs2 background processing"
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
174 depends on YAFFS_FS
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
175 default n
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
176 help
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
177 If this is set, then background processing is disabled.
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
178 Background processing makes many foreground activities faster.
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
179
043bd07468b6 Add conditional compilation for background processing
charles <charles>
parents: 373
diff changeset
180 If unsure, say N.