Merge tag 'next-20220328' of https://source.denx.de/u-boot/custodians/u-boot-video...
[platform/kernel/u-boot.git] / include / configs / rcar-gen2-common.h
index 595482c..f1f5d07 100644 (file)
@@ -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 */