浏览代码

sh: Fix URAM start address on SH7785.

Not all of the SH-X2 URAM blocks are mapped in the same place,
SH7785 happens to map it on the opposite end of the address space
from SH7722, correct the addresses.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 年之前
父节点
当前提交
675bd7804c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/kernel/cpu/sh4a/setup-sh7785.c

+ 1 - 1
arch/sh/kernel/cpu/sh4a/setup-sh7785.c

@@ -351,5 +351,5 @@ void __init plat_irq_setup_pins(int mode)
 void __init plat_mem_setup(void)
 void __init plat_mem_setup(void)
 {
 {
 	/* Register the URAM space as Node 1 */
 	/* Register the URAM space as Node 1 */
-	setup_bootmem_node(1, 0x055f0000, 0x05610000);
+	setup_bootmem_node(1, 0xe55f0000, 0xe5610000);
 }
 }