aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/cpu.c
diff options
context:
space:
mode:
authorChanghwan Youn <chaos.youn@samsung.com>2010-08-27 04:57:44 -0400
committerKukjin Kim <kgene.kim@samsung.com>2010-08-27 05:29:58 -0400
commit766211e74818e655593fd3272cbf84868220f9e5 (patch)
treeca7be6e4b485e1fc39571fc71a887504bcccea50 /arch/arm/mach-s5pv310/cpu.c
parent3297c2e6d7c3b1498b28c93141056cbe96444fde (diff)
ARM: S5PV310: Fix on Secondary CPU startup
Following occurs on boot message without this patch. CPU1: processor failed to boot Brought up 1 CPUs SMP: Total of 1 processors activated... This patch adds SYSRAM mapping for fixing Secondary CPU startup. CPU1: Booted secondary processor Brought up 2 CPUs SMP: Total of 2 processors activated... Signed-off-by: Changhwan Youn <chaos.youn@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/cpu.c')
-rw-r--r--arch/arm/mach-s5pv310/cpu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv310/cpu.c b/arch/arm/mach-s5pv310/cpu.c
index 2b742957d566..e5b261a99ab2 100644
--- a/arch/arm/mach-s5pv310/cpu.c
+++ b/arch/arm/mach-s5pv310/cpu.c
@@ -46,11 +46,16 @@ static struct map_desc s5pv310_iodesc[] __initdata = {
46 .length = SZ_4K, 46 .length = SZ_4K,
47 .type = MT_DEVICE, 47 .type = MT_DEVICE,
48 }, { 48 }, {
49 .virtual = (unsigned long)S5P_VA_SYSRAM,
50 .pfn = __phys_to_pfn(S5PV310_PA_SYSRAM),
51 .length = SZ_4K,
52 .type = MT_DEVICE,
53 }, {
49 .virtual = (unsigned long)S5P_VA_CMU, 54 .virtual = (unsigned long)S5P_VA_CMU,
50 .pfn = __phys_to_pfn(S5PV310_PA_CMU), 55 .pfn = __phys_to_pfn(S5PV310_PA_CMU),
51 .length = SZ_128K, 56 .length = SZ_128K,
52 .type = MT_DEVICE, 57 .type = MT_DEVICE,
53 } 58 },
54}; 59};
55 60
56static void s5pv310_idle(void) 61static void s5pv310_idle(void)