]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd: Make CMD_LZMA / CMD_UNZIP default y if CMD_BOOTI
authorTom Rini <trini@konsulko.com>
Fri, 29 Sep 2017 18:32:44 +0000 (14:32 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
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>
cmd/Kconfig

index bc4f72679e1077dd8cc54e6fc7f98d7dafb11da4..681c81ab0d9c728552f0c9596ecb8a62450bb844 100644 (file)
@@ -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.