From: Paul Mundt <lethal@linux-sh.org>
Date: Thu, 27 Sep 2007 09:22:21 +0000 (+0900)
Subject: sh: Fix URAM start address on SH7785.
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=675bd7804cb53998a57f96d4133856c29213cabd;p=linux.git

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>
---

diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c
index c65e1b5221864..39b215d6cee54 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c
+++ b/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)
 {
 	/* Register the URAM space as Node 1 */
-	setup_bootmem_node(1, 0x055f0000, 0x05610000);
+	setup_bootmem_node(1, 0xe55f0000, 0xe5610000);
 }