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

index 3731eccccef407cad4a3abf6c679e464599fda68..ad7a82d0b1b75b3fbde832ed8e33a4cceaefa64e 100644 (file)
@@ -984,7 +984,7 @@ void __init sh7372_add_early_devices(void)
 
 void __init sh7372_add_early_devices_dt(void)
 {
-       shmobile_setup_delay(800, 1, 3); /* Cortex-A8 @ 800MHz */
+       shmobile_init_delay();
 
        sh7372_add_early_devices();
 }