mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-27 16:53:57 +00:00
sh: Wire up CSM node for SH-X3.
Now that NODES_SHIFT is bumped up, we can plug in the CSM block as a separate node, too. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
1760b7d760
commit
d3428e9101
1 changed files with 8 additions and 5 deletions
|
@ -258,14 +258,17 @@ void __init plat_irq_setup(void)
|
||||||
|
|
||||||
void __init plat_mem_setup(void)
|
void __init plat_mem_setup(void)
|
||||||
{
|
{
|
||||||
|
unsigned int nid = 1;
|
||||||
|
|
||||||
/* Register CPU#0 URAM space as Node 1 */
|
/* Register CPU#0 URAM space as Node 1 */
|
||||||
setup_bootmem_node(1, 0x145f0000, 0x14610000); /* CPU0 */
|
setup_bootmem_node(nid++, 0x145f0000, 0x14610000); /* CPU0 */
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* XXX: Not yet.. */
|
/* XXX: Not yet.. */
|
||||||
setup_bootmem_node(2, 0x14df0000, 0x14e10000); /* CPU1 */
|
setup_bootmem_node(nid++, 0x14df0000, 0x14e10000); /* CPU1 */
|
||||||
setup_bootmem_node(3, 0x155f0000, 0x15610000); /* CPU2 */
|
setup_bootmem_node(nid++, 0x155f0000, 0x15610000); /* CPU2 */
|
||||||
setup_bootmem_node(4, 0x15df0000, 0x15e10000); /* CPU3 */
|
setup_bootmem_node(nid++, 0x15df0000, 0x15e10000); /* CPU3 */
|
||||||
setup_bootmem_node(5, 0x16000000, 0x16020000); /* CSM */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
setup_bootmem_node(nid++, 0x16000000, 0x16020000); /* CSM */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue