public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 11/16] lib: enable lzma decompression support for SPL build
@ 2020-01-08  3:01 Weijie Gao
  2020-01-08  7:22 ` Heinrich Schuchardt
  0 siblings, 1 reply; 6+ messages in thread
From: Weijie Gao @ 2020-01-08  3:01 UTC (permalink / raw)
  To: u-boot

This patch enables LZMA decompression support for SPL build

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
---
 lib/Kconfig  | 5 +++++
 lib/Makefile | 1 +
 2 files changed, 6 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index 965cf7bc03..2f38e37802 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -418,6 +418,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 1fb650cd90..8e51eec01c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -64,6 +64,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/
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-10 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-08  3:01 [PATCH 11/16] lib: enable lzma decompression support for SPL build Weijie Gao
2020-01-08  7:22 ` Heinrich Schuchardt
2020-01-09  8:10   ` Weijie Gao
2020-01-09 17:45     ` Tom Rini
2020-01-10  8:21       ` Weijie Gao
2020-01-10 14:17         ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox