summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-06 15:21:30 -0700
committerSimon Glass <sjg@chromium.org>2018-11-20 19:14:22 -0700
commit048c6e895647c3337450405388bcd538f92e1e3d (patch)
tree058471a4a0487b7ab562a2cb962f77311d685d5c /lib/Kconfig
parentc0126bd862a0dfd59e568e133c4db0a3742e0b0e (diff)
spl: lz4: Allow use of lz4 compression in SPL
In some cases U-Boot is compressed and it is useful to be able to decompress it in SPL. Add a Kconfig and Makefile change to allow this. Note that this does not actually implement decompression. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 847e797a3a..0333ab172f 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -301,6 +301,14 @@ config LZO
help
This enables support for LZO compression algorithm.r
+config SPL_LZ4
+ bool "Enable LZ4 decompression support in SPL"
+ help
+ This enables support for tge LZ4 decompression algorithm in SPL. LZ4
+ is a lossless data compression algorithm that is focused on
+ fast compression and decompression speed. It belongs to the LZ77
+ family of byte-oriented compression schemes.
+
config SPL_LZO
bool "Enable LZO decompression support in SPL"
help