cmd: Add unlz4 command
PATCH 1/1 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 <[email protected]>
--- cmd/Kconfig | 7 +++++++ cmd/Makefile | 1 + cmd/unlz4.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 cmd/unlz4.c
cmd/Kconfig +7 -0
@@ -769,6 +769,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
cmd/Makefile +1 -0
@@ -144,6 +144,7 @@ obj-$(CONFIG_CMD_TSI148) += tsi148.o obj-$(CONFIG_CMD_UBI) += ubi.o obj-$(CONFIG_CMD_UBIFS) += ubifs.o obj-$(CONFIG_CMD_UNIVERSE) += universe.o +obj-$(CONFIG_CMD_UNLZ4) += unlz4.o obj-$(CONFIG_CMD_UNZIP) += unzip.o obj-$(CONFIG_CMD_VIRTIO) += virtio.o obj-$(CONFIG_CMD_WDT) += wdt.o
cmd/unlz4.c new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 1/1 cmd: Add unlz4 command
Quoted 5 lines · Yusuke Ashiduka
This command is a new command called "unlz4" that decompresses from memory into memory.
Used with theCONFIG_CMD_UNLZ4optionenabled.Signed-off-by Yusuke Ashiduka <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200421/46712681/attachment.sig>