From db2504966ceb9f08557b6ea3ab7e367016fcaba9 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 21 Sep 2007 11:34:31 +0900 Subject: sh: Wire up URAM node on SH7785. Add SH7785 URAM as node 1, follows the SH-X3 change. Signed-off-by: Paul Mundt --- arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/sh/kernel/cpu') diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index 486dabe4d27..267114d4127 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include static struct plat_sci_port sci_platform_data[] = { @@ -349,3 +351,9 @@ void __init plat_irq_setup_pins(int mode) BUG(); } } + +void __init plat_mem_setup(void) +{ + /* Register the URAM space as Node 1 */ + setup_bootmem_node(1, 0x055f0000, 0x05610000); +} -- cgit v1.2.3