summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2020-04-21 09:28:38 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-04-27 20:29:33 +0200
commit04cb39946c96e119a6a0978436662358aa33dbc9 (patch)
tree60c8f1979340a59621d9d94b8a47901f508ea41b /lib
parentdf3bad96f35fdf0eeb5ddac87c4fc924c134882d (diff)
downloadu-boot-04cb39946c96e119a6a0978436662358aa33dbc9.tar.gz
u-boot-04cb39946c96e119a6a0978436662358aa33dbc9.tar.bz2
u-boot-04cb39946c96e119a6a0978436662358aa33dbc9.zip
lib: enable lzma decompression support for SPL build
This patch enables LZMA decompression support for SPL build Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
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 144a54da28..868de3bf3b 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 ded9a932aa..c6f862b0c2 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/