aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7785.c8
-rw-r--r--arch/sh/mm/Kconfig2
2 files changed, 10 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
16static struct plat_sci_port sci_platform_data[] = { 18static 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
355void __init plat_mem_setup(void)
356{
357 /* Register the URAM space as Node 1 */
358 setup_bootmem_node(1, 0x055f0000, 0x05610000);
359}
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 96775ff03703..5aaf6248e0aa 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -181,6 +181,8 @@ config CPU_SUBTYPE_SH7785
181 bool "Support SH7785 processor" 181 bool "Support SH7785 processor"
182 select CPU_SH4A 182 select CPU_SH4A
183 select CPU_SHX2 183 select CPU_SHX2
184 select ARCH_SPARSEMEM_ENABLE
185 select SYS_SUPPORTS_NUMA
184 186
185config CPU_SUBTYPE_SHX3 187config CPU_SUBTYPE_SHX3
186 bool "Support SH-X3 processor" 188 bool "Support SH-X3 processor"