Add SH7785 URAM as node 1, follows the SH-X3 change.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/io.h>
+#include <linux/mm.h>
+#include <asm/mmzone.h>
#include <asm/sci.h>
static struct plat_sci_port sci_platform_data[] = {
BUG();
}
}
+
+void __init plat_mem_setup(void)
+{
+ /* Register the URAM space as Node 1 */
+ setup_bootmem_node(1, 0x055f0000, 0x05610000);
+}
bool "Support SH7785 processor"
select CPU_SH4A
select CPU_SHX2
+ select ARCH_SPARSEMEM_ENABLE
+ select SYS_SUPPORTS_NUMA
config CPU_SUBTYPE_SHX3
bool "Support SH-X3 processor"