From 47a1933aa738851ffde5770316ab0f8b47db753a Mon Sep 17 00:00:00 2001 From: Alex Nemirovsky Date: Mon, 23 Dec 2019 20:53:56 +0000 Subject: [PATCH] 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 --- arch/mips/cpu/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/cpu/time.c b/arch/mips/cpu/time.c index a1508e3b88..e0c1868b8c 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; } -- 2.25.1