ARM: shmobile: Use r8a7791 DT CPU Frequency in common case
authorMagnus Damm <damm+renesas@opensource.se>
Sun, 11 May 2014 23:25:18 +0000 (08:25 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:11 +0000 (11:15 +0100)
Convert the common C-code-less r8a7791 DT 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>
(cherry picked from commit 648c687a6a43a6473caedba4785a16537bd21bfb)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7791.c

index 9839daca32a32e8b74f0f27a96f7843c73019546..71bc5ae053f57afd15d7ba58af9a9a55a3c07e8f 100644 (file)
@@ -222,7 +222,7 @@ static const char *r8a7791_boards_compat_dt[] __initdata = {
 
 DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)")
        .smp            = smp_ops(r8a7791_smp_ops),
-       .init_early     = r8a7791_init_early,
+       .init_early     = shmobile_init_delay,
        .init_time      = rcar_gen2_timer_init,
        .dt_compat      = r8a7791_boards_compat_dt,
 MACHINE_END