sh: Fix zImage boot using fixed PMB.
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sat, 20 Mar 2010 07:42:54 +0000 (16:42 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:55 +0000 (15:58 -0700)
commit 319c2cc761505ee54a9536c5d0b9c2ee3fb33866 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sh/boot/compressed/misc.c

index fd56a71ca9d9bbf47c3080d2473f2d4ad2ac0478..974ba71df4a86095cd1985e6b5fdeed1fd4fc673 100644 (file)
@@ -132,7 +132,7 @@ void decompress_kernel(void)
        output_addr = (CONFIG_MEMORY_START + 0x2000);
 #else
        output_addr = PHYSADDR((unsigned long)&_text+PAGE_SIZE);
-#ifdef CONFIG_29BIT
+#if defined(CONFIG_29BIT) || defined(CONFIG_PMB_FIXED)
        output_addr |= P2SEG;
 #endif
 #endif