diff options
author | Magnus Damm <damm@opensource.se> | 2013-06-10 18:20:15 +0900 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-06-17 16:07:28 +0900 |
commit | a188bfcafa61f600877f3e2b4a27cbe42b72c818 (patch) | |
tree | b883864159105cbcf276e6033ac4c8f42210d376 | |
parent | abfa04eb12d34941e7c227e0e205a2075f9c52d5 (diff) | |
download | op-kernel-dev-a188bfcafa61f600877f3e2b4a27cbe42b72c818.zip op-kernel-dev-a188bfcafa61f600877f3e2b4a27cbe42b72c818.tar.gz |
ARM: shmobile: EMEV2 SMP with SCU boot fn and args
Let EMEV2 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>
-rw-r--r-- | arch/arm/mach-shmobile/smp-emev2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/smp-emev2.c b/arch/arm/mach-shmobile/smp-emev2.c index e38691b..80991b3 100644 --- a/arch/arm/mach-shmobile/smp-emev2.c +++ b/arch/arm/mach-shmobile/smp-emev2.c @@ -40,8 +40,10 @@ static void __init emev2_smp_prepare_cpus(unsigned int max_cpus) { scu_enable(shmobile_scu_base); - /* Tell ROM loader about our vector (in headsmp-scu.S) */ - emev2_set_boot_vector(__pa(shmobile_secondary_vector_scu)); + /* Tell ROM loader about our vector (in headsmp-scu.S, headsmp.S) */ + emev2_set_boot_vector(__pa(shmobile_boot_vector)); + 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); |