h8300: Add LZO compression
[linux-drm-fsl-dcu.git] / arch / h8300 / boot / compressed / misc.c
index 6029c53518951a1253b498d77e1b4d963b9d36b9..9f64fe8f29ff2dc95d13b6e02746f3333b4d4074 100644 (file)
@@ -32,7 +32,13 @@ extern char output[];
 
 #define HEAP_SIZE             0x10000
 
+#ifdef CONFIG_KERNEL_GZIP
 #include "../../../../lib/decompress_inflate.c"
+#endif
+
+#ifdef CONFIG_KERNEL_LZO
+#include "../../../../lib/decompress_unlzo.c"
+#endif
 
 void *memset(void *s, int c, size_t n)
 {