mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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>
This commit is contained in:
@@ -531,6 +531,7 @@ menu "Compression commands"
|
|||||||
|
|
||||||
config CMD_LZMADEC
|
config CMD_LZMADEC
|
||||||
bool "lzmadec"
|
bool "lzmadec"
|
||||||
|
default y if CMD_BOOTI
|
||||||
select LZMA
|
select LZMA
|
||||||
help
|
help
|
||||||
Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
|
Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
|
||||||
@@ -538,6 +539,7 @@ config CMD_LZMADEC
|
|||||||
|
|
||||||
config CMD_UNZIP
|
config CMD_UNZIP
|
||||||
bool "unzip"
|
bool "unzip"
|
||||||
|
default y if CMD_BOOTI
|
||||||
help
|
help
|
||||||
Uncompress a zip-compressed memory region.
|
Uncompress a zip-compressed memory region.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user