475455482317b844a4b043cffd2bb9941298298d
[openwrt/openwrt.git] / target / linux / generic / pending-4.14 / 342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch
1 From 8cabf9d8bd67d3f8603a4c1ceedaa629a7212be8 Mon Sep 17 00:00:00 2001
2 From: Pawel Dembicki <paweldembicki@gmail.com>
3 Date: Fri, 24 May 2019 17:56:19 +0200
4 Subject: [PATCH] powerpc: Enable kernel XZ compression option on PPC_85xx
5
6 Enable kernel XZ compression option on PPC_85xx. Tested with
7 simpleImage on TP-Link TL-WDR4900 (Freescale P1014 processor).
8
9 Suggested-by: Christian Lamparter <chunkeey@gmail.com>
10 Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
11 ---
12 arch/powerpc/Kconfig | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
16 index de3b07c7be30..53f87983fb42 100644
17 --- a/arch/powerpc/Kconfig
18 +++ b/arch/powerpc/Kconfig
19 @@ -199,6 +199,7 @@ config PPC
20 select HAVE_IOREMAP_PROT
21 select HAVE_IRQ_EXIT_ON_IRQ_STACK
22 select HAVE_KERNEL_GZIP
23 + select HAVE_KERNEL_XZ if PPC_85xx
24 select HAVE_KPROBES
25 select HAVE_KPROBES_ON_FTRACE
26 select HAVE_KRETPROBES
27 --
28 2.20.1
29