Bladeren bron

ARM: shmobile: sh73a0: Use shmobile_init_delay()

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>
Magnus Damm 11 jaren geleden
bovenliggende
commit
5df622a56b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      arch/arm/mach-shmobile/setup-sh73a0.c

+ 1 - 1
arch/arm/mach-shmobile/setup-sh73a0.c

@@ -746,7 +746,7 @@ void __init sh73a0_add_standard_devices(void)
 
 
 void __init sh73a0_init_delay(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 */
 /* do nothing for !CONFIG_SMP or !CONFIG_HAVE_TWD */