ARM: shmobile: Use r8a7791 DT CPU Frequency for Koelsch
authorMagnus Damm <damm+renesas@opensource.se>
Sun, 11 May 2014 23:25:27 +0000 (08:25 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 12 May 2014 07:09:52 +0000 (16:09 +0900)
Convert the Koelsch board support to use shmobile_init_delay()
to be able to migrate away from per-SoC delay setup functions.

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

index a3fd30242bd87d2a8c77f2c6ade2a3c96259e039..ff33d9c4b65865f240519438730753a1116d3cb9 100644 (file)
@@ -139,7 +139,7 @@ static const char * const koelsch_boards_compat_dt[] __initconst = {
 
 DT_MACHINE_START(KOELSCH_DT, "koelsch")
        .smp            = smp_ops(r8a7791_smp_ops),
-       .init_early     = r8a7791_init_early,
+       .init_early     = shmobile_init_delay,
        .init_time      = rcar_gen2_timer_init,
        .init_machine   = koelsch_add_standard_devices,
        .init_late      = shmobile_init_late,
index 5a034ff405d001c82e9c79872296719691f4a378..3cd8008d09dda9d6267abc6d85991af1ca9438a0 100644 (file)
@@ -522,7 +522,7 @@ static const char * const koelsch_boards_compat_dt[] __initconst = {
 
 DT_MACHINE_START(KOELSCH_DT, "koelsch")
        .smp            = smp_ops(r8a7791_smp_ops),
-       .init_early     = r8a7791_init_early,
+       .init_early     = shmobile_init_delay,
        .init_time      = rcar_gen2_timer_init,
        .init_machine   = koelsch_init,
        .init_late      = shmobile_init_late,