• Magnus Damm's avatar
    ARM: shmobile: Update EMEV2 to use scu_power_mode() · 1af4b3fa
    Magnus Damm authored
    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: default avatarMagnus Damm <damm@opensource.se>
    Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
    1af4b3fa
smp-emev2.c 2.19 KB