diff options
author | Magnus Damm <damm@opensource.se> | 2013-06-10 18:20:06 +0900 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-06-17 16:07:28 +0900 |
commit | abfa04eb12d34941e7c227e0e205a2075f9c52d5 (patch) | |
tree | d065860afaca6ae5abfa96acbd1904cecf11df7b /arch/arm/mach-shmobile | |
parent | af642310aaa491df6dabcca96bdf0d1b8465a834 (diff) | |
download | linux-stable-abfa04eb12d34941e7c227e0e205a2075f9c52d5.tar.gz linux-stable-abfa04eb12d34941e7c227e0e205a2075f9c52d5.tar.bz2 linux-stable-abfa04eb12d34941e7c227e0e205a2075f9c52d5.zip |
ARM: shmobile: sh73a0 SMP with SCU boot fn and args
Let sh73a0 make use of shmobile_boot_fn and shmobile_boot_arg
together with shmobile_boot_scu and the SCU base address.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/smp-sh73a0.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c index 496592b6c763..d613113a04bd 100644 --- a/arch/arm/mach-shmobile/smp-sh73a0.c +++ b/arch/arm/mach-shmobile/smp-sh73a0.c @@ -64,9 +64,11 @@ static void __init sh73a0_smp_prepare_cpus(unsigned int max_cpus) { scu_enable(shmobile_scu_base); - /* Map the reset vector (in headsmp-scu.S) */ + /* Map the reset vector (in headsmp-scu.S, headsmp.S) */ __raw_writel(0, APARMBAREA); /* 4k */ - __raw_writel(__pa(shmobile_secondary_vector_scu), SBAR); + __raw_writel(__pa(shmobile_boot_vector), SBAR); + shmobile_boot_fn = virt_to_phys(shmobile_boot_scu); + shmobile_boot_arg = (unsigned long)shmobile_scu_base; /* enable cache coherency on booting CPU */ scu_power_mode(shmobile_scu_base, SCU_PM_NORMAL); |