mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Daniel Schwierzeck](/assets/img/avatar_default.png)
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>
20 lines
321 B
C
20 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;
|
|
}
|