summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/cpu.c')
-rw-r--r--arch/arm/mach-davinci/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/cpu.c b/arch/arm/mach-davinci/cpu.c
index aefd21dc45..0f68f9fe59 100644
--- a/arch/arm/mach-davinci/cpu.c
+++ b/arch/arm/mach-davinci/cpu.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <clock_legacy.h>
#include <init.h>
#include <asm/arch/hardware.h>
#include <asm/global_data.h>
@@ -91,3 +92,8 @@ int set_cpu_clk_info(void)
gd->bd->bi_dsp_freq = 0;
return 0;
}
+
+unsigned long get_board_sys_clk(void)
+{
+ return clk_get(DAVINCI_ARM_CLKID);
+}