summaryrefslogtreecommitdiffstats
path: root/arch/h8300/boot/compressed/misc.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-12-04 01:20:57 +0900
committerYoshinori Sato <ysato@users.sourceforge.jp>2016-01-20 22:44:13 +0900
commit42b510eb56dea96150dfc0747d4b2486b7fa72e0 (patch)
tree8cc7bc1563f92a9df95abb0a35a91488c0d6a326 /arch/h8300/boot/compressed/misc.c
parentaf3da5798d7b9d3dc7412cb5e1d4ed106dcecefc (diff)
downloadblackbird-op-linux-42b510eb56dea96150dfc0747d4b2486b7fa72e0.tar.gz
blackbird-op-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)
{
OpenPOWER on IntegriCloud