1 // SPDX-License-Identifier: GPL-2.0+
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9 #include <asm/mipsregs.h>
11 unsigned long notrace timer_read_counter(void)
13 return read_c0_count();
16 ulong notrace __weak get_tbclk(void)
18 return CONFIG_SYS_MIPS_TIMER_FREQ;