sh: Fix URAM start address on SH7785.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 09:22:21 +0000 (18:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 09:22:21 +0000 (18:22 +0900)
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>
arch/sh/kernel/cpu/sh4a/setup-sh7785.c

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