From a7f464f3db93ae5492bee6f6e48939fd8a45fa99 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 26 Jan 2012 13:08:57 +0100 Subject: ARM: 7001/2: Wire up support for the XZ decompressor Wire up support for the XZ decompressor Signed-off-by: Imre Kaloz Signed-off-by: Russell King --- arch/arm/boot/compressed/decompress.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/boot/compressed/decompress.c') diff --git a/arch/arm/boot/compressed/decompress.c b/arch/arm/boot/compressed/decompress.c index 07be5a2f8302..f41b38cafce8 100644 --- a/arch/arm/boot/compressed/decompress.c +++ b/arch/arm/boot/compressed/decompress.c @@ -44,6 +44,12 @@ extern void error(char *); #include "../../../../lib/decompress_unlzma.c" #endif +#ifdef CONFIG_KERNEL_XZ +#define memmove memmove +#define memcpy memcpy +#include "../../../../lib/decompress_unxz.c" +#endif + int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)) { return decompress(input, len, NULL, NULL, output, NULL, error); -- cgit v1.2.3