summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/Kconfig
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2014-11-27 18:48:44 +0000
committerPhillip Lougher <phillip@squashfs.org.uk>2014-11-27 18:48:44 +0000
commit62421645bb702c077ee5a462815525106cb53bcf (patch)
tree83d98b98348bcaa8c7c0ddf2cc720104fdb6e52d /fs/squashfs/Kconfig
parent9c06a46f1524a05b2dccf5c74d7555b2cfcbe5db (diff)
downloadblackbird-op-linux-62421645bb702c077ee5a462815525106cb53bcf.tar.gz
blackbird-op-linux-62421645bb702c077ee5a462815525106cb53bcf.zip
Squashfs: Add LZ4 compression configuration option
Add the glue code, and also update the documentation. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'fs/squashfs/Kconfig')
-rw-r--r--fs/squashfs/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig
index b6fa8657dcbc..ffb093e72b6c 100644
--- a/fs/squashfs/Kconfig
+++ b/fs/squashfs/Kconfig
@@ -120,6 +120,21 @@ config SQUASHFS_ZLIB
If unsure, say Y.
+config SQUASHFS_LZ4
+ bool "Include support for LZ4 compressed file systems"
+ depends on SQUASHFS
+ select LZ4_DECOMPRESS
+ help
+ Saying Y here includes support for reading Squashfs file systems
+ compressed with LZ4 compression. LZ4 compression is mainly
+ aimed at embedded systems with slower CPUs where the overheads
+ of zlib are too high.
+
+ LZ4 is not the standard compression used in Squashfs and so most
+ file systems will be readable without selecting this option.
+
+ If unsure, say N.
+
config SQUASHFS_LZO
bool "Include support for LZO compressed file systems"
depends on SQUASHFS
OpenPOWER on IntegriCloud