aboutsummaryrefslogtreecommitdiff
path: root/include/configs/rcar-gen2-common.h
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 /include/configs/rcar-gen2-common.h
parentbc0abd80b3c2d395a0245d4e1ce4f8f445f79cde (diff)
parent5e2fd60b97b3a67a9bbcfe8910b59b2b44d1c9a0 (diff)
downloadu-boot-111a8b57354bb5aff55635502a0cdf74cb63e835.zip
u-boot-111a8b57354bb5aff55635502a0cdf74cb63e835.tar.gz
u-boot-111a8b57354bb5aff55635502a0cdf74cb63e835.tar.bz2
Merge branch '2021-12-27-CONFIG-migrations' into nextWIP/27Dec2021-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 'include/configs/rcar-gen2-common.h')
-rw-r--r--include/configs/rcar-gen2-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index 595482c..f1f5d07 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -42,6 +42,6 @@
#define CONFIG_TMU_TIMER
#define CONFIG_SYS_TIMER_COUNTS_DOWN
#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
-#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 8)
+#define CONFIG_SYS_TIMER_RATE (get_board_sys_clk() / 8)
#endif /* __RCAR_GEN2_COMMON_H */