aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-08-01 04:52:47 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-09-20 22:57:47 -0400
commit7da3b8ef662af6252aa17c55cc0aa6d74cbf02e4 (patch)
tree2a1cacd022ef472c38e0c7f5eb4a0bfcc0d79d69 /arch/sh/kernel/cpu
parent1ee010087e2d26f0d8182bb189d5606e3586253c (diff)
sh: Initial multiple-node support for SH-X3.
Wire up CPU#0 URAM as node 1 on SH-X3. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-shx3.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-shx3.c b/arch/sh/kernel/cpu/sh4a/setup-shx3.c
index 7f3fa5167c6b..f7a2cc221d22 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-shx3.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-shx3.c
@@ -255,3 +255,17 @@ void __init plat_irq_setup(void)
255{ 255{
256 register_intc_controller(&intc_desc); 256 register_intc_controller(&intc_desc);
257} 257}
258
259void __init plat_mem_setup(void)
260{
261 /* Register CPU#0 URAM space as Node 1 */
262 setup_bootmem_node(1, 0x145f0000, 0x14610000); /* CPU0 */
263
264#if 0
265 /* XXX: Not yet.. */
266 setup_bootmem_node(2, 0x14df0000, 0x14e10000); /* CPU1 */
267 setup_bootmem_node(3, 0x155f0000, 0x15610000); /* CPU2 */
268 setup_bootmem_node(4, 0x15df0000, 0x15e10000); /* CPU3 */
269 setup_bootmem_node(5, 0x16000000, 0x16020000); /* CSM */
270#endif
271}