blob: 3bf01cd03137bfd310c2e6f4379aa91ae33bd8d7 [file] [log] [blame]
Simon Glass8c6c7c22017-05-17 03:25:38 -06001config 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 Rini9c8268d2021-12-17 18:08:47 -05008
9config 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
15config 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 Rinifb577aa2022-10-28 20:26:59 -040020
21config 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!