From: Weijie Gao Date: Tue, 21 Apr 2020 07:28:38 +0000 (+0200) Subject: lib: enable lzma decompression support for SPL build X-Git-Tag: v2020.07-rc1~7^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=04cb39946c96e119a6a0978436662358aa33dbc9;p=oweals%2Fu-boot.git lib: enable lzma decompression support for SPL build This patch enables LZMA decompression support for SPL build Reviewed-by: Stefan Roese Reviewed-by: Tom Rini Signed-off-by: Weijie Gao --- 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/