aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-05-10 03:10:29 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-12 16:34:18 -0400
commitfecf84c14fa755b0e30ba64a290db658a06c76fb (patch)
tree6f49de3640d94615f057e5aa4961050b791ffef6
parentcc2504524b5b14dc03682dc1f04fb1644f692767 (diff)
ARM: mach-shmobile: kzm9g: enable SMP boot
Update the KZM9G defconfig and the code in platsmp.c to support SMP on the sh73a0 based KZM9G board. Also fix up the earlyprintk setting that was previously incorrect. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
-rw-r--r--arch/arm/configs/kzm9g_defconfig4
-rw-r--r--arch/arm/mach-shmobile/platsmp.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/configs/kzm9g_defconfig b/arch/arm/configs/kzm9g_defconfig
index 4bbea3639910..e3ebc20ed0a7 100644
--- a/arch/arm/configs/kzm9g_defconfig
+++ b/arch/arm/configs/kzm9g_defconfig
@@ -31,13 +31,15 @@ CONFIG_ARM_ERRATA_743622=y
31CONFIG_ARM_ERRATA_754322=y 31CONFIG_ARM_ERRATA_754322=y
32CONFIG_NO_HZ=y 32CONFIG_NO_HZ=y
33CONFIG_HIGH_RES_TIMERS=y 33CONFIG_HIGH_RES_TIMERS=y
34CONFIG_SMP=y
35CONFIG_SCHED_MC=y
34CONFIG_PREEMPT=y 36CONFIG_PREEMPT=y
35CONFIG_AEABI=y 37CONFIG_AEABI=y
36# CONFIG_OABI_COMPAT is not set 38# CONFIG_OABI_COMPAT is not set
37CONFIG_HIGHMEM=y 39CONFIG_HIGHMEM=y
38CONFIG_ZBOOT_ROM_TEXT=0x0 40CONFIG_ZBOOT_ROM_TEXT=0x0
39CONFIG_ZBOOT_ROM_BSS=0x0 41CONFIG_ZBOOT_ROM_BSS=0x0
40CONFIG_CMDLINE="console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=serial" 42CONFIG_CMDLINE="console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200"
41CONFIG_KEXEC=y 43CONFIG_KEXEC=y
42CONFIG_VFP=y 44CONFIG_VFP=y
43CONFIG_NEON=y 45CONFIG_NEON=y
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c
index 45fa3924c6a1..d959f07d1ef0 100644
--- a/arch/arm/mach-shmobile/platsmp.c
+++ b/arch/arm/mach-shmobile/platsmp.c
@@ -20,7 +20,7 @@
20#include <asm/mach-types.h> 20#include <asm/mach-types.h>
21#include <mach/common.h> 21#include <mach/common.h>
22 22
23#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2()) 23#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2() || machine_is_kzm9g())
24#define is_r8a7779() machine_is_marzen() 24#define is_r8a7779() machine_is_marzen()
25 25
26static unsigned int __init shmobile_smp_get_core_count(void) 26static unsigned int __init shmobile_smp_get_core_count(void)