]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lib: enable lzma decompression support for SPL build
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 21 Apr 2020 07:28:38 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
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>
lib/Kconfig
lib/Makefile

index 144a54da2804de60a42aaa25aea2df0211fba63c..868de3bf3b813aff6cf75d95c760986be05d23d1 100644 (file)
@@ -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
index ded9a932aa0ba9d3990780ee703eb76980beb091..c6f862b0c22941e267f5ac8883c30930df31f2c1 100644 (file)
@@ -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/