]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: ZBOOT: Support LZ4 compression scheme
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Sep 2013 15:55:20 +0000 (16:55 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 25 Sep 2013 16:07:07 +0000 (18:07 +0200)
commit5ce5f196eaa9040d6425b4aa9b30b32821c175f9
tree66b08d8fa7204b18a2f1ec84db2eac08a08628e4
parent096366663288d09bc9ad082e9d3d936fafe9d677
MIPS: ZBOOT: Support LZ4 compression scheme

Add support for the LZ4 compression scheme in the ZBOOT decompression
stub, in order to support it we need to:

- select the "lz4" compression tool to compress the vmlinux.bin
  payload
- memcpy() is also required for decompress_unlz4.c so we share the
  implementation between GZIP, XZ and now LZ4

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: blogic@openwrt.org
Cc: james.hogan@imgtec.com
Patchwork: https://patchwork.linux-mips.org/patch/5829/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/boot/compressed/Makefile
arch/mips/boot/compressed/decompress.c