diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-03-08 16:06:55 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-04-09 18:19:10 +0200 |
commit | 95f4bbd581cfde45d4bd1fa5e56c2d880dae7ced (patch) | |
tree | fdf036ff9026bfcae64afd553105b60dcac6f382 /lib/Kconfig | |
parent | 1fd303543aef9c4641bd578e6e52284f5a69df67 (diff) |
lib: fdt: Allow LZO and GZIP DT compression in U-Boot
Add required Kconfig symbols, Makefile bits and macro fixes in a
few places to support LZO and DT compression in U-Boot. This can
save a lot of space with multi-DTB fitImages.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 366d164cd7..8fe5d85a05 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -301,6 +301,19 @@ config LZO help This enables support for LZO compression algorithm.r +config GZIP + bool "Enable gzip decompression support for SPL build" + select ZLIB + default y + help + This enables support for GZIP compression algorithm. + +config ZLIB + bool + default y + help + This enables ZLIB compression lib. + config SPL_LZ4 bool "Enable LZ4 decompression support in SPL" help |