summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-08-15 11:14:43 -0700
committerYork Sun <york.sun@nxp.com>2017-09-11 07:55:36 -0700
commit7264f2928b46c5f5685e39ed607652c8991e47b6 (patch)
treec60c73a6fb0c33399fbdb25c31e4f08741bef71a /lib/Kconfig
parentd1f2ee7021dc4a89f43e25f289747a27da0e930f (diff)
spl: fit: Eanble GZIP support for image decompression
Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for SPL boot, eg. falcon boot compressed kernel image. Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index fe337acaeb..628ef8ddb6 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -176,6 +176,18 @@ config LZO
bool "Enable LZO decompression support"
help
This enables support for LZO compression algorithm.r
+
+config SPL_GZIP
+ bool "Enable gzip decompression support for SPL build"
+ select SPL_ZLIB
+ help
+ This enables support for GZIP compression altorithm for SPL boot.
+
+config SPL_ZLIB
+ bool
+ help
+ This enables compression lib for SPL boot.
+
endmenu
config ERRNO_STR