aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boot/compressed/misc_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boot/compressed/misc_32.c')
-rw-r--r--arch/sh/boot/compressed/misc_32.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/sh/boot/compressed/misc_32.c b/arch/sh/boot/compressed/misc_32.c
index 1ab4f49153be..b86e3596918b 100644
--- a/arch/sh/boot/compressed/misc_32.c
+++ b/arch/sh/boot/compressed/misc_32.c
@@ -41,12 +41,24 @@ extern int _end;
41static unsigned long free_mem_ptr; 41static unsigned long free_mem_ptr;
42static unsigned long free_mem_end_ptr; 42static unsigned long free_mem_end_ptr;
43 43
44#define HEAP_SIZE 0x10000 44#ifdef CONFIG_HAVE_KERNEL_BZIP2
45#define HEAP_SIZE 0x400000
46#else
47#define HEAP_SIZE 0x10000
48#endif
45 49
46#ifdef CONFIG_KERNEL_GZIP 50#ifdef CONFIG_KERNEL_GZIP
47#include "../../../../lib/decompress_inflate.c" 51#include "../../../../lib/decompress_inflate.c"
48#endif 52#endif
49 53
54#ifdef CONFIG_KERNEL_BZIP2
55#include "../../../../lib/decompress_bunzip2.c"
56#endif
57
58#ifdef CONFIG_KERNEL_LZMA
59#include "../../../../lib/decompress_unlzma.c"
60#endif
61
50#ifdef CONFIG_SH_STANDARD_BIOS 62#ifdef CONFIG_SH_STANDARD_BIOS
51size_t strlen(const char *s) 63size_t strlen(const char *s)
52{ 64{