diff options
| -rw-r--r-- | arch/sh/boot/compressed/misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index 4eb27e61f8e3..fd56a71ca9d9 100644 --- a/arch/sh/boot/compressed/misc.c +++ b/arch/sh/boot/compressed/misc.c | |||
| @@ -128,10 +128,14 @@ void decompress_kernel(void) | |||
| 128 | { | 128 | { |
| 129 | unsigned long output_addr; | 129 | unsigned long output_addr; |
| 130 | 130 | ||
| 131 | #ifdef CONFIG_SUPERH64 | ||
| 132 | output_addr = (CONFIG_MEMORY_START + 0x2000); | ||
| 133 | #else | ||
| 131 | output_addr = PHYSADDR((unsigned long)&_text+PAGE_SIZE); | 134 | output_addr = PHYSADDR((unsigned long)&_text+PAGE_SIZE); |
| 132 | #ifdef CONFIG_29BIT | 135 | #ifdef CONFIG_29BIT |
| 133 | output_addr |= P2SEG; | 136 | output_addr |= P2SEG; |
| 134 | #endif | 137 | #endif |
| 138 | #endif | ||
| 135 | 139 | ||
| 136 | output = (unsigned char *)output_addr; | 140 | output = (unsigned char *)output_addr; |
| 137 | free_mem_ptr = (unsigned long)&_end; | 141 | free_mem_ptr = (unsigned long)&_end; |
