ARM: shmobile: Use r8a7740 DT CPU Frequency in common case
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 7 May 2014 23:32:38 +0000 (08:32 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 11 May 2014 11:58:56 +0000 (20:58 +0900)
Convert the common C-code-less r8a7740 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>
Tested-by: Geert Uytterhoeven <geert@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7740.c

index 8f3c68101d59d7f3423e59ee98eb361e73b6a856..d1ce3caa7d92b99638484426939471fd078eccdd 100644 (file)
@@ -935,7 +935,7 @@ static const char *r8a7740_boards_compat_dt[] __initdata = {
 
 DT_MACHINE_START(R8A7740_DT, "Generic R8A7740 (Flattened Device Tree)")
        .map_io         = r8a7740_map_io,
-       .init_early     = r8a7740_init_delay,
+       .init_early     = shmobile_init_delay,
        .init_irq       = r8a7740_init_irq_of,
        .init_machine   = r8a7740_generic_init,
        .dt_compat      = r8a7740_boards_compat_dt,