summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2010-02-15 09:37:50 +0100
committerPaul Mundt <lethal@linux-sh.org>2010-02-16 05:50:26 +0100
commit319c2cc761505ee54a9536c5d0b9c2ee3fb33866 (patch)
tree88cc4d3e9ed697c5bdc8383712f9d3f5735e38ef /arch/sh
parentsh: fix sh7724 SDHI support using INTC force_disable (diff)
downloadlinux-319c2cc761505ee54a9536c5d0b9c2ee3fb33866.tar.xz
linux-319c2cc761505ee54a9536c5d0b9c2ee3fb33866.zip
sh: Fix zImage boot using fixed PMB.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boot/compressed/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c
index d509a5050623..9ba07927d16a 100644
--- a/arch/sh/boot/compressed/misc.c
+++ b/arch/sh/boot/compressed/misc.c
@@ -117,7 +117,7 @@ void decompress_kernel(void)
output_addr = (CONFIG_MEMORY_START + 0x2000);
#else
output_addr = __pa((unsigned long)&_text+PAGE_SIZE);
-#ifdef CONFIG_29BIT
+#if defined(CONFIG_29BIT) || defined(CONFIG_PMB_LEGACY)
output_addr |= P2SEG;
#endif
#endif