ARM: shmobile: sh73a0: Use shmobile_init_delay()
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 20 Aug 2014 13:02:45 +0000 (22:02 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 22 Aug 2014 02:31:56 +0000 (11:31 +0900)
Adjust the sh73a0 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-sh73a0.c

index e7a0296..fe29ebb 100644 (file)
@@ -746,7 +746,7 @@ void __init sh73a0_add_standard_devices(void)
 
 void __init sh73a0_init_delay(void)
 {
-       shmobile_setup_delay(1196, 44, 46); /* Cortex-A9 @ 1196MHz */
+       shmobile_init_delay();
 }
 
 /* do nothing for !CONFIG_SMP or !CONFIG_HAVE_TWD */