11590Srgrimesconfig FS_JFFS2
21590Srgrimes	bool "Enable JFFS2 filesystem support"
31590Srgrimes	help
41590Srgrimes	  This provides support for reading images from JFFS2 (Journalling
51590Srgrimes	  Flash File System version 2). JFFS2 is a log-structured file system
61590Srgrimes	  for use with flash memory devices. It supports raw NAND devices,
71590Srgrimes	  hard links and compression.
81590Srgrimes
91590Srgrimesconfig JFFS2_LZO
101590Srgrimes	bool "Enable LZO compression in JFFS2"
111590Srgrimes	depends on FS_JFFS2
121590Srgrimes	help
131590Srgrimes	  Enable LZO compression in the JFFS2 filesystem
141590Srgrimes
151590Srgrimesconfig JFFS2_NAND
161590Srgrimes	bool "Enable JFFS2 support for NAND flash"
171590Srgrimes	depends on FS_JFFS2
181590Srgrimes	help
191590Srgrimes	  Enable support for NAND flash as the backing store for JFFS2.
201590Srgrimes
211590Srgrimesconfig SYS_JFFS2_SORT_FRAGMENTS
221590Srgrimes	bool "Enable JFFS2 sorting of filesystem fragments (SLOW!)"
231590Srgrimes	depends on FS_JFFS2
241590Srgrimes	help
251590Srgrimes	  If you boot from a partition which is mounted writable, and you
261590Srgrimes	  update your boot environment by replacing single files on that
271590Srgrimes	  partition, you should also define CONFIG_SYS_JFFS2_SORT_FRAGMENTS.
281590Srgrimes	  Scanning the JFFS2 filesystem takes *much* longer with this feature,
291590Srgrimes	  though.  Sorting is done while inserting into the fragment list,
3050477Speter	  which is more or less a bubble sort. That algorithm is known to be
3116853Swosch	  O(n^2), thus you should really consider if you can avoid it!
32165193Sru