Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031
  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.
  8. config JFFS2_LZO
  9. bool "Enable LZO compression in JFFS2"
  10. depends on FS_JFFS2
  11. help
  12. Enable LZO compression in the JFFS2 filesystem
  13. config JFFS2_NAND
  14. bool "Enable JFFS2 support for NAND flash"
  15. depends on FS_JFFS2
  16. help
  17. Enable support for NAND flash as the backing store for JFFS2.
  18. config SYS_JFFS2_SORT_FRAGMENTS
  19. bool "Enable JFFS2 sorting of filesystem fragments (SLOW!)"
  20. depends on FS_JFFS2
  21. help
  22. If you boot from a partition which is mounted writable, and you
  23. update your boot environment by replacing single files on that
  24. partition, you should also define CONFIG_SYS_JFFS2_SORT_FRAGMENTS.
  25. Scanning the JFFS2 filesystem takes *much* longer with this feature,
  26. though. Sorting is done while inserting into the fragment list,
  27. which is more or less a bubble sort. That algorithm is known to be
  28. O(n^2), thus you should really consider if you can avoid it!