From: Paul Mundt Date: Thu, 27 Sep 2007 09:22:21 +0000 (+0900) Subject: sh: Fix URAM start address on SH7785. X-Git-Tag: upstream/snapshot3+hdmi~30681^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=675bd7804cb53998a57f96d4133856c29213cabd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 --- diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index c65e1b5..39b215d 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); }