Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. config UBIFS_FS
  2. tristate "UBIFS file system support"
  3. select CRC16
  4. select CRC32
  5. select CRYPTO if UBIFS_FS_ADVANCED_COMPR
  6. select CRYPTO if UBIFS_FS_LZO
  7. select CRYPTO if UBIFS_FS_ZLIB
  8. select CRYPTO_LZO if UBIFS_FS_LZO
  9. select CRYPTO_DEFLATE if UBIFS_FS_ZLIB
  10. depends on MTD_UBI
  11. help
  12. UBIFS is a file system for flash devices which works on top of UBI.
  13. config UBIFS_FS_ADVANCED_COMPR
  14. bool "Advanced compression options"
  15. depends on UBIFS_FS
  16. help
  17. This option allows to explicitly choose which compressions, if any,
  18. are enabled in UBIFS. Removing compressors means inability to read
  19. existing file systems.
  20. If unsure, say 'N'.
  21. config UBIFS_FS_LZO
  22. bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
  23. depends on UBIFS_FS
  24. default y
  25. help
  26. LZO compressor is generally faster than zlib but compresses worse.
  27. Say 'Y' if unsure.
  28. config UBIFS_FS_ZLIB
  29. bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
  30. depends on UBIFS_FS
  31. default y
  32. help
  33. Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
  34. # Debugging-related stuff
  35. config UBIFS_FS_DEBUG
  36. bool "Enable debugging support"
  37. depends on UBIFS_FS
  38. select DEBUG_FS
  39. select KALLSYMS
  40. help
  41. This option enables UBIFS debugging support. It makes sure various
  42. assertions, self-checks, debugging messages and test modes are compiled
  43. in (this all is compiled out otherwise). Assertions are light-weight
  44. and this option also enables them. Self-checks, debugging messages and
  45. test modes are switched off by default. Thus, it is safe and actually
  46. recommended to have debugging support enabled, and it should not slow
  47. down UBIFS. You can then further enable / disable individual debugging
  48. features using UBIFS module parameters and the corresponding sysfs
  49. interfaces.