
23 Dec
2019
23 Dec
'19
9:53 p.m.
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 ---
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 af324f7..33c9e88 100644 --- a/arch/mips/cpu/time.c +++ b/arch/mips/cpu/time.c @@ -12,7 +12,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.7.4