]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2807928b77542957b6d8880aef2f974cf40c41d0
tree3e3cbdf1939737b067d1c6fe881f321b3f0c9ce3
parentd6af61ff23d34d5d298c92907fa07a0612602e56
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