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>
Tue, 29 Oct 2013 20:24:34 +0000 (21:24 +0100)
commit31c4867d6c75450f98398a1172f03383c4881c98
tree0fb7a8527321eea61e8254acec0d7b1d8de3c4f4
parente970a72ec1e5d6aa3c03da7970450bc37777ba52
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