Message ID | 1579594764-7229-1-git-send-email-weijie.gao@mediatek.com |
---|---|
State | Accepted |
Commit | 04cb39946c96e119a6a0978436662358aa33dbc9 |
Headers | show |
Series | Refactor the architecture parts of mt7628 | expand |
On 21.01.20 09:19, Weijie Gao wrote: > This patch enables LZMA decompression support for SPL build > > Reviewed-by: Tom Rini <trini at konsulko.com> > Signed-off-by: Weijie Gao <weijie.gao at mediatek.com> > --- > Changes since v2: none Reviewed-by: Stefan Roese <sr at denx.de> Thanks, Stefan
diff --git a/lib/Kconfig b/lib/Kconfig index d040a87d26..6e491c3552 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -428,6 +428,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 6b7b9ce85c..889f505800 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -65,6 +65,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/