diff options
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 80 |
1 files changed, 53 insertions, 27 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 58a0650293e1..9acccda4fd6b 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1228,6 +1228,14 @@ config JFFS2_FS_WRITEBUFFER | |||
1228 | - NOR flash with transparent ECC | 1228 | - NOR flash with transparent ECC |
1229 | - DataFlash | 1229 | - DataFlash |
1230 | 1230 | ||
1231 | config JFFS2_FS_WBUF_VERIFY | ||
1232 | bool "Verify JFFS2 write-buffer reads" | ||
1233 | depends on JFFS2_FS_WRITEBUFFER | ||
1234 | default n | ||
1235 | help | ||
1236 | This causes JFFS2 to read back every page written through the | ||
1237 | write-buffer, and check for errors. | ||
1238 | |||
1231 | config JFFS2_SUMMARY | 1239 | config JFFS2_SUMMARY |
1232 | bool "JFFS2 summary support (EXPERIMENTAL)" | 1240 | bool "JFFS2 summary support (EXPERIMENTAL)" |
1233 | depends on JFFS2_FS && EXPERIMENTAL | 1241 | depends on JFFS2_FS && EXPERIMENTAL |
@@ -1298,52 +1306,70 @@ config JFFS2_ZLIB | |||
1298 | select ZLIB_DEFLATE | 1306 | select ZLIB_DEFLATE |
1299 | depends on JFFS2_FS | 1307 | depends on JFFS2_FS |
1300 | default y | 1308 | default y |
1301 | help | 1309 | help |
1302 | Zlib is designed to be a free, general-purpose, legally unencumbered, | 1310 | Zlib is designed to be a free, general-purpose, legally unencumbered, |
1303 | lossless data-compression library for use on virtually any computer | 1311 | lossless data-compression library for use on virtually any computer |
1304 | hardware and operating system. See <http://www.gzip.org/zlib/> for | 1312 | hardware and operating system. See <http://www.gzip.org/zlib/> for |
1305 | further information. | 1313 | further information. |
1306 | 1314 | ||
1307 | Say 'Y' if unsure. | 1315 | Say 'Y' if unsure. |
1316 | |||
1317 | config JFFS2_LZO | ||
1318 | bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS | ||
1319 | select LZO_COMPRESS | ||
1320 | select LZO_DECOMPRESS | ||
1321 | depends on JFFS2_FS | ||
1322 | default y | ||
1323 | help | ||
1324 | minilzo-based compression. Generally works better than Zlib. | ||
1325 | |||
1326 | Say 'Y' if unsure. | ||
1308 | 1327 | ||
1309 | config JFFS2_RTIME | 1328 | config JFFS2_RTIME |
1310 | bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS | 1329 | bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS |
1311 | depends on JFFS2_FS | 1330 | depends on JFFS2_FS |
1312 | default y | 1331 | default y |
1313 | help | 1332 | help |
1314 | Rtime does manage to recompress already-compressed data. Say 'Y' if unsure. | 1333 | Rtime does manage to recompress already-compressed data. Say 'Y' if unsure. |
1315 | 1334 | ||
1316 | config JFFS2_RUBIN | 1335 | config JFFS2_RUBIN |
1317 | bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS | 1336 | bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS |
1318 | depends on JFFS2_FS | 1337 | depends on JFFS2_FS |
1319 | default n | 1338 | default n |
1320 | help | 1339 | help |
1321 | RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure. | 1340 | RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure. |
1322 | 1341 | ||
1323 | choice | 1342 | choice |
1324 | prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS | 1343 | prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS |
1325 | default JFFS2_CMODE_PRIORITY | 1344 | default JFFS2_CMODE_PRIORITY |
1326 | depends on JFFS2_FS | 1345 | depends on JFFS2_FS |
1327 | help | 1346 | help |
1328 | You can set here the default compression mode of JFFS2 from | 1347 | You can set here the default compression mode of JFFS2 from |
1329 | the available compression modes. Don't touch if unsure. | 1348 | the available compression modes. Don't touch if unsure. |
1330 | 1349 | ||
1331 | config JFFS2_CMODE_NONE | 1350 | config JFFS2_CMODE_NONE |
1332 | bool "no compression" | 1351 | bool "no compression" |
1333 | help | 1352 | help |
1334 | Uses no compression. | 1353 | Uses no compression. |
1335 | 1354 | ||
1336 | config JFFS2_CMODE_PRIORITY | 1355 | config JFFS2_CMODE_PRIORITY |
1337 | bool "priority" | 1356 | bool "priority" |
1338 | help | 1357 | help |
1339 | Tries the compressors in a predefined order and chooses the first | 1358 | Tries the compressors in a predefined order and chooses the first |
1340 | successful one. | 1359 | successful one. |
1341 | 1360 | ||
1342 | config JFFS2_CMODE_SIZE | 1361 | config JFFS2_CMODE_SIZE |
1343 | bool "size (EXPERIMENTAL)" | 1362 | bool "size (EXPERIMENTAL)" |
1344 | help | 1363 | help |
1345 | Tries all compressors and chooses the one which has the smallest | 1364 | Tries all compressors and chooses the one which has the smallest |
1346 | result. | 1365 | result. |
1366 | |||
1367 | config JFFS2_CMODE_FAVOURLZO | ||
1368 | bool "Favour LZO" | ||
1369 | help | ||
1370 | Tries all compressors and chooses the one which has the smallest | ||
1371 | result but gives some preference to LZO (which has faster | ||
1372 | decompression) at the expense of size. | ||
1347 | 1373 | ||
1348 | endchoice | 1374 | endchoice |
1349 | 1375 | ||