summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/common.h
diff options
context:
space:
mode:
authorMagnus Damm2014-03-06 04:28:24 +0100
committerSimon Horman2014-04-14 04:25:33 +0200
commitc39dae380b4a11f1050a2ef6607598dcbe0541be (patch)
tree442327a5a2a9b7bbb473b6d73be2520cf474d85f /arch/arm/mach-shmobile/include/mach/common.h
parentARM: shmobile: Update r8a7791 CPU freq to 1500MHz in C (diff)
downloadkernel-qcow2-linux-c39dae380b4a11f1050a2ef6607598dcbe0541be.tar.gz
kernel-qcow2-linux-c39dae380b4a11f1050a2ef6607598dcbe0541be.tar.xz
kernel-qcow2-linux-c39dae380b4a11f1050a2ef6607598dcbe0541be.zip
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/common.h')
-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);