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