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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:10 +0000 (11:15 +0100)
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>
(cherry picked from commit a0c1fb0c285d9aa5f9d078449cfa37883a3f5a91)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7740.c

index 069cd3d0b18f151e3f7cb122c213c89f212fa5f7..f498ad52c85f2b39276476e3e7b43d4b898adb72 100644 (file)
@@ -841,7 +841,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,