ARM: shmobile: ape6evm: Use shmobile_init_delay()
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 30 Jul 2014 23:45:00 +0000 (08:45 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 20 Aug 2014 00:06:35 +0000 (09:06 +0900)
The r8a73a4 DTS includes CPU Frequency information so
adjust the APE6EVM board code to use shmobile_init_delay()
instead of relying on CPU Frequency information included
in r8a73a4_init_delay() that is specified in C.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-ape6evm-reference.c
arch/arm/mach-shmobile/board-ape6evm.c

index 1ecda4b588286e1f4c8a35574242eae26df8c949..9e99b1511a90b5a1e1e5602f84bb1c11a566acf4 100644 (file)
@@ -59,7 +59,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(APE6EVM_DT, "ape6evm")
-       .init_early     = r8a73a4_init_early,
+       .init_early     = shmobile_init_delay,
        .init_machine   = ape6evm_add_standard_devices,
        .init_late      = shmobile_init_late,
        .dt_compat      = ape6evm_boards_compat_dt,
index befbae03a1ec7d4880c4ec235940be643a3fe10c..b222f68d55b7251ef2d8da0e2fcd50005fdfdef4 100644 (file)
@@ -283,7 +283,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(APE6EVM_DT, "ape6evm")
-       .init_early     = r8a73a4_init_early,
+       .init_early     = shmobile_init_delay,
        .init_machine   = ape6evm_add_standard_devices,
        .init_late      = shmobile_init_late,
        .dt_compat      = ape6evm_boards_compat_dt,