Skip to contentSkip to conversation

lib: enable lzma decompression support for SPL build

PATCH Superseded Weijie Gao 1 participant 1 message Feb 12, 2020 Library code

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Weijie Gao

author
#0 lore raw

PATCH v4 14/20 lib: enable lzma decompression support for SPL build

This patch enables LZMA decompression support for SPL build

---
Changes since v3: none

---
 lib/Kconfig  | 5 +++++
 lib/Makefile | 1 +
 2 files changed, 6 insertions(+)
lib/Kconfig +5 -0
index ab6aff710d..5f52f14686 100644
@@ -429,6 +429,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
lib/Makefile +1 -0
index 15259d0473..fa497a366d 100644
@@ -66,6 +66,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/
Signature · 1 line
2.17.1