ARM: shmobile: r8a7778: Use shmobile_init_delay()
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 20 Aug 2014 13:02:54 +0000 (22:02 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 22 Aug 2014 02:31:57 +0000 (11:31 +0900)
Adjust the r8a7778 SoC support code to use shmobile_init_delay()
together with CPU Frequency settings from the DTS. Get rid of the
C code version.

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

index e1a477bce447086a5a2036a6c23dee2775e59a96..85fe016d6a872a6233effacc6118f2195d8cdbc8 100644 (file)
@@ -574,7 +574,7 @@ void __init r8a7778_init_irq_extpin(int irlm)
 
 void __init r8a7778_init_delay(void)
 {
-       shmobile_setup_delay(800, 1, 3); /* Cortex-A9 @ 800MHz */
+       shmobile_init_delay();
 }
 
 #ifdef CONFIG_USE_OF