| From f0b01256d5ab0d14ae57d49c9cb868adff513bb4 Mon Sep 17 00:00:00 2001 |
| From: Magnus Damm <damm+renesas@opensource.se> |
| Date: Tue, 20 May 2014 08:37:24 +0900 |
| Subject: ARM: shmobile: Use r8a7790 DT CPU Frequency in common case |
| |
| Convert the common C-code-less r8a7790 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> |
| Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit ed06ecbcc66f6224a908c8abfe940b00540f0aa8) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/setup-r8a7790.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c |
| index e1907686ace4..4bfa8539d72a 100644 |
| --- a/arch/arm/mach-shmobile/setup-r8a7790.c |
| +++ b/arch/arm/mach-shmobile/setup-r8a7790.c |
| @@ -324,7 +324,7 @@ static const char * const r8a7790_boards_compat_dt[] __initconst = { |
| |
| DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") |
| .smp = smp_ops(r8a7790_smp_ops), |
| - .init_early = r8a7790_init_early, |
| + .init_early = shmobile_init_delay, |
| .init_time = rcar_gen2_timer_init, |
| .init_late = shmobile_init_late, |
| .reserve = rcar_gen2_reserve, |
| -- |
| 2.1.2 |
| |