| From f946e872a566e7a7dc6e25590b8ea98342d41bc5 Mon Sep 17 00:00:00 2001 |
| From: Simon Horman <horms+renesas@verge.net.au> |
| Date: Fri, 16 May 2014 13:42:59 +0900 |
| Subject: ARM: shmobile: r8a7779: Use DT CPU Frequency in common case |
| |
| Convert the common C-code-less r8a7779 DT board support |
| to use shmobile_init_delay() to be able to migrate away |
| from per-SoC delay setup functions. |
| |
| Based on work by Magnus dam for the r8a7740 SoC. |
| |
| Cc: Magnus Damm <damm+renesas@opensource.se> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 0157b62674aa3db1fc574bb65e6b0e30bb0683d7) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/setup-r8a7779.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c |
| index 188f0df510be..a03bfec15d96 100644 |
| --- a/arch/arm/mach-shmobile/setup-r8a7779.c |
| +++ b/arch/arm/mach-shmobile/setup-r8a7779.c |
| @@ -773,7 +773,7 @@ static const char *r8a7779_compat_dt[] __initdata = { |
| |
| DT_MACHINE_START(R8A7779_DT, "Generic R8A7779 (Flattened Device Tree)") |
| .map_io = r8a7779_map_io, |
| - .init_early = r8a7779_init_delay, |
| + .init_early = shmobile_init_delay, |
| .nr_irqs = NR_IRQS_LEGACY, |
| .init_irq = r8a7779_init_irq_dt, |
| .init_machine = r8a7779_add_standard_devices_dt, |
| -- |
| 2.1.2 |
| |