diff options
| author | Tom Rini <[email protected]> | 2021-12-27 17:20:21 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-12-27 17:20:21 -0500 |
| commit | 111a8b57354bb5aff55635502a0cdf74cb63e835 (patch) | |
| tree | cbdb6857df2ae710e4cf3f7103195d39b6e3fd54 /drivers/timer | |
| parent | bc0abd80b3c2d395a0245d4e1ce4f8f445f79cde (diff) | |
| parent | 5e2fd60b97b3a67a9bbcfe8910b59b2b44d1c9a0 (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 'drivers/timer')
| -rw-r--r-- | drivers/timer/ostm_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/timer/ostm_timer.c b/drivers/timer/ostm_timer.c index 24813de2653..3ec729d2c43 100644 --- a/drivers/timer/ostm_timer.c +++ b/drivers/timer/ostm_timer.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <malloc.h> #include <asm/global_data.h> #include <asm/io.h> @@ -51,7 +52,7 @@ static int ostm_probe(struct udevice *dev) clk_free(&clk); #else - uc_priv->clock_rate = CONFIG_SYS_CLK_FREQ / 2; + uc_priv->clock_rate = get_board_sys_clk() / 2; #endif readb(priv->regs + OSTM_CTL); |
