summaryrefslogtreecommitdiff
path: root/include/configs/legoev3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/legoev3.h')
-rw-r--r--include/configs/legoev3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
index 0e4d134dbd..21ba9b8da8 100644
--- a/include/configs/legoev3.h
+++ b/include/configs/legoev3.h
@@ -17,8 +17,11 @@
/*
* SoC Configuration
*/
+#ifndef __ASSEMBLY__
+unsigned long get_board_sys_clk(void);
+#endif
#define CONFIG_SYS_EXCEPTION_VECTORS_HIGH
-#define CONFIG_SYS_CLK_FREQ clk_get(DAVINCI_ARM_CLKID)
+#define CONFIG_SYS_CLK_FREQ get_board_sys_clk()
#define CONFIG_SYS_OSCIN_FREQ 24000000
#define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE
#define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID)