浏览代码

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>
Nobuhiro Iwamatsu 15 年之前
父节点
当前提交
319c2cc761
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/boot/compressed/misc.c

+ 1 - 1
arch/sh/boot/compressed/misc.c

@@ -117,7 +117,7 @@ void decompress_kernel(void)
 	output_addr = (CONFIG_MEMORY_START + 0x2000);
 	output_addr = (CONFIG_MEMORY_START + 0x2000);
 #else
 #else
 	output_addr = __pa((unsigned long)&_text+PAGE_SIZE);
 	output_addr = __pa((unsigned long)&_text+PAGE_SIZE);
-#ifdef CONFIG_29BIT
+#if defined(CONFIG_29BIT) || defined(CONFIG_PMB_LEGACY)
 	output_addr |= P2SEG;
 	output_addr |= P2SEG;
 #endif
 #endif
 #endif
 #endif