342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch 935 B

12345678910111213141516171819202122232425
  1. From 66770a004afe10df11d3902e16eaa0c2c39436bb Mon Sep 17 00:00:00 2001
  2. From: Pawel Dembicki <[email protected]>
  3. Date: Fri, 24 May 2019 17:56:19 +0200
  4. Subject: [PATCH] powerpc: Enable kernel XZ compression option on PPC_85xx
  5. Enable kernel XZ compression option on PPC_85xx. Tested with
  6. simpleImage on TP-Link TL-WDR4900 (Freescale P1014 processor).
  7. Suggested-by: Christian Lamparter <[email protected]>
  8. Signed-off-by: Pawel Dembicki <[email protected]>
  9. ---
  10. arch/powerpc/Kconfig | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. --- a/arch/powerpc/Kconfig
  13. +++ b/arch/powerpc/Kconfig
  14. @@ -229,7 +229,7 @@ config PPC
  15. select HAVE_KERNEL_GZIP
  16. select HAVE_KERNEL_LZMA if DEFAULT_UIMAGE
  17. select HAVE_KERNEL_LZO if DEFAULT_UIMAGE
  18. - select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x
  19. + select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x || PPC_85xx
  20. select HAVE_KPROBES
  21. select HAVE_KPROBES_ON_FTRACE
  22. select HAVE_KRETPROBES