summaryrefslogtreecommitdiffstats
path: root/arch/h8300/boot/compressed/misc.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-12-03 17:20:57 +0100
committerYoshinori Sato <ysato@users.sourceforge.jp>2016-01-20 14:44:13 +0100
commit42b510eb56dea96150dfc0747d4b2486b7fa72e0 (patch)
tree8cc7bc1563f92a9df95abb0a35a91488c0d6a326 /arch/h8300/boot/compressed/misc.c
parenth8300: zImage alignment fix (diff)
downloadlinux-42b510eb56dea96150dfc0747d4b2486b7fa72e0.tar.xz
linux-42b510eb56dea96150dfc0747d4b2486b7fa72e0.zip
h8300: Add LZO compression
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/boot/compressed/misc.c')
-rw-r--r--arch/h8300/boot/compressed/misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/h8300/boot/compressed/misc.c b/arch/h8300/boot/compressed/misc.c
index 6029c5351895..9f64fe8f29ff 100644
--- a/arch/h8300/boot/compressed/misc.c
+++ b/arch/h8300/boot/compressed/misc.c
@@ -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)
{