summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-09-29 18:32:44 (GMT)
committerTom Rini <trini@konsulko.com>2017-10-08 20:19:56 (GMT)
commit99e46dfc6a9176f6f0680c9dfdf33c97d56336ce (patch)
treecce6e156218bec676a17d7e2f4787499ebccdd8c
parent610eec7f0593574c034054ba54fc1c934755e208 (diff)
downloadu-boot-99e46dfc6a9176f6f0680c9dfdf33c97d56336ce.tar.xz
cmd: Make CMD_LZMA / CMD_UNZIP default y if CMD_BOOTI
In the Linux Kernel on ARM64, the Image.COMPRESSION file is not self-extracting in the way that x86 and ARM images are. So when CMD_BOOTI is enabled we should also default to enabling CMD_UNZIP and CONFIG_LZMA in order for the user to be able to decompress many of the common compressions that will be done to an Image file. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--cmd/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index bc4f726..681c81a 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -531,6 +531,7 @@ menu "Compression commands"
config CMD_LZMADEC
bool "lzmadec"
+ default y if CMD_BOOTI
select LZMA
help
Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
@@ -538,6 +539,7 @@ config CMD_LZMADEC
config CMD_UNZIP
bool "unzip"
+ default y if CMD_BOOTI
help
Uncompress a zip-compressed memory region.