powerpc: Enable kernel XZ compression option on 44x
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 31 Jan 2019 20:59:04 +0000 (21:59 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Feb 2019 11:04:55 +0000 (22:04 +1100)
Enable kernel XZ compression option on 44x.
Tested on a Western Digital - MyBook Live NAS.
It takes 22 seconds for the 800 MHz CPU to decompress
and boot a 2.63 MiB XZ-compressed kernel simpleImage.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig

index 73bf87b1d27483ffc90f653cdfe4716be4beee4b..9c70c2864657022eb392dd39768a9d0f42378450 100644 (file)
@@ -201,7 +201,7 @@ config PPC
        select HAVE_IOREMAP_PROT
        select HAVE_IRQ_EXIT_ON_IRQ_STACK
        select HAVE_KERNEL_GZIP
-       select HAVE_KERNEL_XZ                   if PPC_BOOK3S
+       select HAVE_KERNEL_XZ                   if PPC_BOOK3S || 44x
        select HAVE_KPROBES
        select HAVE_KPROBES_ON_FTRACE
        select HAVE_KRETPROBES