powerpc/boot: Add support for XZ compression
authorOliver O'Halloran <oohall@gmail.com>
Thu, 22 Sep 2016 06:54:34 +0000 (16:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2016 04:35:14 +0000 (14:35 +1000)
commitc762c69e106f2b41ef39981ba46bda0ae8119db5
tree5cc3b8264952c39f8c57a1f7cb467c1a38f24824
parentf1e510bbb9f265acb4147a3a650882876a76d48b
powerpc/boot: Add support for XZ compression

This patch adds an option to use XZ compression for the kernel image.

Currently this is only enabled for 64-bit Book3S targets, which is
roughly equivalent to the platforms that use the kernel's zImage
wrapper, and that have been tested.

The bulk of the 32-bit platforms and 64-bit BookE use uboot images,
which relies on uboot implementing XZ. In future we can enable XZ
support for those targets once someone has tested it.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/Makefile
arch/powerpc/boot/decompress.c
arch/powerpc/boot/stdbool.h [new file with mode: 0644]
arch/powerpc/boot/stdint.h [new file with mode: 0644]
arch/powerpc/boot/types.h
arch/powerpc/boot/xz_config.h [new file with mode: 0644]
arch/powerpc/platforms/Kconfig.cputype