diff options
| author | Oliver O'Halloran <oohall@gmail.com> | 2016-09-22 02:54:34 -0400 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-28 00:35:14 -0400 |
| commit | c762c69e106f2b41ef39981ba46bda0ae8119db5 (patch) | |
| tree | 5cc3b8264952c39f8c57a1f7cb467c1a38f24824 /arch/powerpc/platforms | |
| parent | f1e510bbb9f265acb4147a3a650882876a76d48b (diff) | |
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>
Diffstat (limited to 'arch/powerpc/platforms')
| -rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index f32edec13fd1..c0dbdb004f49 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
| @@ -74,6 +74,7 @@ config PPC_BOOK3S_64 | |||
| 74 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE | 74 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE |
| 75 | select ARCH_SUPPORTS_NUMA_BALANCING | 75 | select ARCH_SUPPORTS_NUMA_BALANCING |
| 76 | select IRQ_WORK | 76 | select IRQ_WORK |
| 77 | select HAVE_KERNEL_XZ | ||
| 77 | 78 | ||
| 78 | config PPC_BOOK3E_64 | 79 | config PPC_BOOK3E_64 |
| 79 | bool "Embedded processors" | 80 | bool "Embedded processors" |
