summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/smp-sh73a0.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-02-13 14:47:07 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-03-12 18:13:19 +0100
commitec0d84a8d5522aaed3f932caff30a0b165c8cf44 (patch)
tree1783563f0313c874c57204aa87991392209f5f7b /arch/arm/mach-shmobile/smp-sh73a0.c
parentARM: shmobile: Rework EMEV2 scu_base variable (diff)
downloadlinux-ec0d84a8d5522aaed3f932caff30a0b165c8cf44.tar.xz
linux-ec0d84a8d5522aaed3f932caff30a0b165c8cf44.zip
ARM: shmobile: Move headsmp-sh73a0.S to headsmp-scu.S
Rename headsmp-sh73a0.S into headsmp-scu.S and introduce shmobile_secondary_vector_scu(). The goal is to be able to share the function above between all mach-shmobile SoCs that use SCU for SMP. So far only sh73a0 use this. At this time the SCU base address is still hard coded in headsmp-scu.S to 0xf0000000, but this will be changed in the future. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-shmobile/smp-sh73a0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c
index 0757f4a94bf5..de7518f745f0 100644
--- a/arch/arm/mach-shmobile/smp-sh73a0.c
+++ b/arch/arm/mach-shmobile/smp-sh73a0.c
@@ -72,9 +72,9 @@ static void __init sh73a0_smp_prepare_cpus(unsigned int max_cpus)
{
scu_enable(shmobile_scu_base);
- /* Map the reset vector (in headsmp-sh73a0.S) */
+ /* Map the reset vector (in headsmp-scu.S) */
__raw_writel(0, APARMBAREA); /* 4k */
- __raw_writel(__pa(sh73a0_secondary_vector), SBAR);
+ __raw_writel(__pa(shmobile_secondary_vector_scu), SBAR);
/* enable cache coherency on booting CPU */
scu_power_mode(shmobile_scu_base, SCU_PM_NORMAL);