1 // SPDX-License-Identifier: GPL-2.0+
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 #include <asm/mipsregs.h>
10 unsigned long notrace timer_read_counter(void)
12 return read_c0_count();
15 ulong notrace get_tbclk(void)
17 return CONFIG_SYS_MIPS_TIMER_FREQ;