summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWeijie Gao <[email protected]>2020-04-21 09:28:38 +0200
committerDaniel Schwierzeck <[email protected]>2020-04-27 20:29:33 +0200
commit04cb39946c96e119a6a0978436662358aa33dbc9 (patch)
tree60c8f1979340a59621d9d94b8a47901f508ea41b /lib
parentdf3bad96f35fdf0eeb5ddac87c4fc924c134882d (diff)
lib: enable lzma decompression support for SPL build
This patch enables LZMA decompression support for SPL build Reviewed-by: Stefan Roese <[email protected]> Reviewed-by: Tom Rini <[email protected]> Signed-off-by: Weijie Gao <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig5
-rw-r--r--lib/Makefile1
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 144a54da280..868de3bf3b8 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -434,6 +434,11 @@ config SPL_LZ4
fast compression and decompression speed. It belongs to the LZ77
family of byte-oriented compression schemes.
+config SPL_LZMA
+ bool "Enable LZMA decompression support for SPL build"
+ help
+ This enables support for LZMA compression altorithm for SPL boot.
+
config SPL_LZO
bool "Enable LZO decompression support in SPL"
help
diff --git a/lib/Makefile b/lib/Makefile
index ded9a932aa0..c6f862b0c22 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -67,6 +67,7 @@ obj-$(CONFIG_$(SPL_)ZLIB) += zlib/
obj-$(CONFIG_$(SPL_)ZSTD) += zstd/
obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o
obj-$(CONFIG_$(SPL_)LZO) += lzo/
+obj-$(CONFIG_$(SPL_)LZMA) += lzma/
obj-$(CONFIG_$(SPL_)LZ4) += lz4_wrapper.o
obj-$(CONFIG_LIBAVB) += libavb/