summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-05-22 15:07:36 +0300
committerTom Rini <trini@konsulko.com>2020-05-25 18:54:53 +0300
commiteff5a54758080f842783c4e5334e0675ea3cd317 (patch)
treec1efa19449a8afe29c16907333b46ce0ff428113 /lib
parent56c311bd82b5521be2f0babdab2e2dab43394401 (diff)
downloadu-boot-eff5a54758080f842783c4e5334e0675ea3cd317.tar.xz
cmd: zip: automatically pull in gzip()
Move the CONFIG_GZIP_COMPRESSED from a config.h macro to a Kconfig menu item. It is not selectable by a user because there is no reason to do so. Instead it will be automatically selected by the stuff which uses gzip(), like the zip command. Remove it from the config_whitelist.txt. Also remove CONFIG_GZIP_COMPRESS_DEF_SZ as this was never used on any board. The default seems to be sane, otherwise it should be added as a Kconfig option. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index c3f694afc0..f18bf3778b 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -424,6 +424,10 @@ config GZIP
help
This enables support for GZIP compression algorithm.
+config GZIP_COMPRESSED
+ bool
+ select ZLIB
+
config BZIP2
bool "Enable bzip2 decompression support"
help