Simon Glass | 59e12a4 | 2017-05-17 03:25:38 -0600 | [diff] [blame] | 1 | config FS_JFFS2 |
| 2 | bool "Enable JFFS2 filesystem support" |
| 3 | help |
| 4 | This provides support for reading images from JFFS2 (Journalling |
| 5 | Flash File System version 2). JFFS2 is a log-structured file system |
| 6 | for use with flash memory devices. It supports raw NAND devices, |
| 7 | hard links and compression. |
Tom Rini | 968c621 | 2021-12-17 18:08:47 -0500 | [diff] [blame] | 8 | |
| 9 | config JFFS2_LZO |
| 10 | bool "Enable LZO compression in JFFS2" |
| 11 | depends on FS_JFFS2 |
| 12 | help |
| 13 | Enable LZO compression in the JFFS2 filesystem |
| 14 | |
| 15 | config JFFS2_NAND |
| 16 | bool "Enable JFFS2 support for NAND flash" |
| 17 | depends on FS_JFFS2 |
| 18 | help |
| 19 | Enable support for NAND flash as the backing store for JFFS2. |
Tom Rini | 3b677dc | 2022-10-28 20:26:59 -0400 | [diff] [blame] | 20 | |
| 21 | config SYS_JFFS2_SORT_FRAGMENTS |
| 22 | bool "Enable JFFS2 sorting of filesystem fragments (SLOW!)" |
| 23 | depends on FS_JFFS2 |
| 24 | help |
| 25 | If you boot from a partition which is mounted writable, and you |
| 26 | update your boot environment by replacing single files on that |
| 27 | partition, you should also define CONFIG_SYS_JFFS2_SORT_FRAGMENTS. |
| 28 | Scanning the JFFS2 filesystem takes *much* longer with this feature, |
| 29 | though. Sorting is done while inserting into the fragment list, |
| 30 | which is more or less a bubble sort. That algorithm is known to be |
| 31 | O(n^2), thus you should really consider if you can avoid it! |