ARM: shmobile: Update r8a7779 to use scu_power_mode()
authorMagnus Damm <damm@opensource.se>
Mon, 18 Feb 2013 13:47:35 +0000 (22:47 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 12 Mar 2013 17:13:21 +0000 (02:13 +0900)
commit8bbcd729d219ca7cdc06ad3b0dea161c4c41b807
tree3e3cbdf1939737b067d1c6fe881f321b3f0c9ce3
parentbbf2627c77355ee07cb589904efaf814cfc223d1
ARM: shmobile: Update r8a7779 to use scu_power_mode()

Update the SMP code for R8A7779 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 r8a7779_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-r8a7779.c