ARM: shmobile: r8a7790: Prioritize DT APMU support
authorMagnus Damm <damm+renesas@opensource.se>
Tue, 28 Jun 2016 14:10:38 +0000 (16:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 29 Jun 2016 12:43:26 +0000 (14:43 +0200)
Adjust the r8a7790 SoC support code to not configure any non-DT SMP code
in case the DT-based enable-method has been installed already.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7790.c

index 3a18af4922b42577c2a37a80a620b5fca3f0d75d..3506327e0bed24227287d4ffa63bbf8099963b6c 100644 (file)
@@ -28,6 +28,7 @@ static const char * const r8a7790_boards_compat_dt[] __initconst = {
 };
 
 DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
+       .smp_init       = shmobile_smp_init_fallback_ops,
        .smp            = smp_ops(r8a7790_smp_ops),
        .init_early     = shmobile_init_delay,
        .init_time      = rcar_gen2_timer_init,