1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
2 index 350921d..34163da 100644
5 @@ -20,6 +20,7 @@ config ARM
6 select HAVE_GENERIC_DMA_COHERENT
7 select HAVE_KERNEL_GZIP
9 + select HAVE_KERNEL_LZMA
11 The ARM series is a line of low-power-consumption RISC chip designs
12 licensed by ARM Ltd and targeted at embedded applications and
13 diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
14 index 2d4d88b..3906432 100644
15 --- a/arch/arm/boot/compressed/Makefile
16 +++ b/arch/arm/boot/compressed/Makefile
17 @@ -65,6 +65,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
19 suffix_$(CONFIG_KERNEL_GZIP) = gzip
20 suffix_$(CONFIG_KERNEL_LZO) = lzo
21 +suffix_$(CONFIG_KERNEL_LZMA) = lzma
23 targets := vmlinux vmlinux.lds \
24 piggy.$(suffix_y) piggy.$(suffix_y).o \
25 diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c
26 index 7e0fe4d..4e35a10 100644
27 --- a/arch/arm/boot/compressed/misc.c
28 +++ b/arch/arm/boot/compressed/misc.c
29 @@ -237,6 +237,10 @@ static unsigned long free_mem_end_ptr;
30 #include "../../../../lib/decompress_inflate.c"
33 +#ifdef CONFIG_KERNEL_LZMA
34 +#include "../../../../lib/decompress_unlzma.c"
37 #ifdef CONFIG_KERNEL_LZO
38 #include "../../../../lib/decompress_unlzo.c"
40 diff --git a/arch/arm/boot/compressed/piggy.lzma.S b/arch/arm/boot/compressed/piggy.lzma.S
42 index 0000000..d7e69cf
44 +++ b/arch/arm/boot/compressed/piggy.lzma.S
46 + .section .piggydata,#alloc
49 + .incbin "arch/arm/boot/compressed/piggy.lzma"
50 + .globl input_data_end