diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-09-20 22:34:31 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-20 22:57:55 -0400 |
commit | db2504966ceb9f08557b6ea3ab7e367016fcaba9 (patch) | |
tree | 9fa8d6b4028720e25c3b42fb359d944981a68d45 /arch/sh/kernel | |
parent | 0e01059c3db95b638aa0cc75be4b0e7a134fe904 (diff) |
sh: Wire up URAM node on SH7785.
Add SH7785 URAM as node 1, follows the SH-X3 change.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index 486dabe4d272..267114d4127c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c | |||
@@ -11,6 +11,8 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <linux/mm.h> | ||
15 | #include <asm/mmzone.h> | ||
14 | #include <asm/sci.h> | 16 | #include <asm/sci.h> |
15 | 17 | ||
16 | static struct plat_sci_port sci_platform_data[] = { | 18 | static struct plat_sci_port sci_platform_data[] = { |
@@ -349,3 +351,9 @@ void __init plat_irq_setup_pins(int mode) | |||
349 | BUG(); | 351 | BUG(); |
350 | } | 352 | } |
351 | } | 353 | } |
354 | |||
355 | void __init plat_mem_setup(void) | ||
356 | { | ||
357 | /* Register the URAM space as Node 1 */ | ||
358 | setup_bootmem_node(1, 0x055f0000, 0x05610000); | ||
359 | } | ||