diff options
author | Alex Nemirovsky <Alex.Nemirovsky@cortina-access.com> | 2019-12-23 20:53:56 +0000 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-04-09 18:55:59 +0200 |
commit | 47a1933aa738851ffde5770316ab0f8b47db753a (patch) | |
tree | 70d573cb5fed774a9c7f716c145542ae38488734 /arch | |
parent | ebdc27895492e740d96c67d624821cfeb56c7544 (diff) |
MIPS: allow override of get_tbclk()
Allow SoC or board layers with reconfigurable cpu clocks
capabilties to do implementation specific lookups and service
get_tbclk() requests.
Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/cpu/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cpu/time.c b/arch/mips/cpu/time.c index a1508e3b886..e0c1868b8c2 100644 --- a/arch/mips/cpu/time.c +++ b/arch/mips/cpu/time.c @@ -13,7 +13,7 @@ unsigned long notrace timer_read_counter(void) return read_c0_count(); } -ulong notrace get_tbclk(void) +ulong notrace __weak get_tbclk(void) { return CONFIG_SYS_MIPS_TIMER_FREQ; } |