mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
eef88dfb3e
Unify and move code in arch/mips/cpu/mips[32|64]/ to arch/mips/cpu/. The CPU specific config.mk files need to remain until CONFIG_STANDALONE_LOAD_ADDR is converted to a global Kconfig symbol. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
19 lines
321 B
C
19 lines
321 B
C
/*
|
|
* (C) Copyright 2003
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/mipsregs.h>
|
|
|
|
unsigned long notrace timer_read_counter(void)
|
|
{
|
|
return read_c0_count();
|
|
}
|
|
|
|
ulong notrace get_tbclk(void)
|
|
{
|
|
return CONFIG_SYS_MIPS_TIMER_FREQ;
|
|
}
|