ARM: shmobile: Update EMEV2 to use scu_power_mode()
authorMagnus Damm <damm@opensource.se>
Wed, 13 Feb 2013 13:47:27 +0000 (22:47 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 12 Mar 2013 17:13:19 +0000 (02:13 +0900)
commit1af4b3fa1912f20a3dd1e231e90b439c0226b9b1
tree6c6c73011c3088bbdc5a169d79edc16482da7b31
parent4c8228455d1008136d748e6973dd72578bab4697
ARM: shmobile: Update EMEV2 to use scu_power_mode()

Update the SMP code for EMEV2 to make use of the
shared SCU function scu_power_mode() together with
the early setup code in shmobile_secondary_vector_scu.

With this patch in place the secondary CPUs modify the
SCU setting during early boot instead of letting other
CPUs deal with the coherency setting before boot. In
other words, we used to setup coherency before boot
in emev2_boot_secondary() but that bit is now instead
handled by the code in shmobile_secondary_vector_scu.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-emev2.c