summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-27 17:20:21 -0500
committerTom Rini <trini@konsulko.com>2021-12-27 17:20:21 -0500
commit111a8b57354bb5aff55635502a0cdf74cb63e835 (patch)
treecbdb6857df2ae710e4cf3f7103195d39b6e3fd54 /arch/arm/mach-davinci
parentbc0abd80b3c2d395a0245d4e1ce4f8f445f79cde (diff)
parent5e2fd60b97b3a67a9bbcfe8910b59b2b44d1c9a0 (diff)
Merge branch '2021-12-27-CONFIG-migrations' into next
- Merge a large number of CONFIG migration patches. Most of these are taking existing migrations and re-running them. A few of these needed additional minor conversions done first, so that more complex dependencies could be expressed. In the end we now have CI jobs to ensure that no migrated symbols are used in board config header files.
Diffstat (limited to 'arch/arm/mach-davinci')
-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 aefd21dc458..0f68f9fe59e 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);
+}