summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2014-03-06 07:28:24 +0400
committerSimon Horman <horms+renesas@verge.net.au>2014-04-14 06:25:33 +0400
commitc39dae380b4a11f1050a2ef6607598dcbe0541be (patch)
tree442327a5a2a9b7bbb473b6d73be2520cf474d85f /arch/arm/mach-shmobile/include/mach
parentce4b6a04c49b0b414d537b45ededd9dfd4e48336 (diff)
downloadlinux-c39dae380b4a11f1050a2ef6607598dcbe0541be.tar.xz
ARM: shmobile: Add shared shmobile_init_delay()
Introduce shmobile_init_delay() that gets CPU specific parameters from DT and sets up the early delay from there. This allows us to both remove frequency information from the C code and consolidate existing code. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index cb8e32deb2a3..f7a360edcc35 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -4,6 +4,7 @@
extern void shmobile_earlytimer_init(void);
extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz,
unsigned int mult, unsigned int div);
+extern void shmobile_init_delay(void);
struct twd_local_timer;
extern void shmobile_setup_console(void);
extern void shmobile_boot_vector(void);