diff options
author | Yusuke Ashiduka <ashiduka@fujitsu.com> | 2020-02-20 20:48:01 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-17 12:32:12 -0400 |
commit | a17322329b3b1526b23f8e1f6573a5d4f737c573 (patch) | |
tree | 2ca66046f91dec36d6b610416c84d0e5f5f8a0b0 /cmd/Kconfig | |
parent | 46d9d1c306967780d7afbfcbf942daf9ab33c466 (diff) | |
download | u-boot-a17322329b3b1526b23f8e1f6573a5d4f737c573.tar.gz |
cmd: Add unlz4 command
This command is a new command called "unlz4" that decompresses from memory
into memory.
Used with the CONFIG_CMD_UNLZ4 optionenabled.
Signed-off-by: Yusuke Ashiduka <ashiduka@fujitsu.com>
[trini: Use %zd / %zX not %ld / %lX in printf]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index faa133da65..0e2576262d 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -770,6 +770,13 @@ config CMD_LZMADEC Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm) image from memory. +config CMD_UNLZ4 + bool "unlz4" + default y if CMD_BOOTI + select LZ4 + help + Support decompressing an LZ4 image from memory region. + config CMD_UNZIP bool "unzip" default y if CMD_BOOTI |