MIPS: allow override of get_tbclk()
cover 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.
Alex Nemirovsky (1):
MIPS: allow override of get_tbclk()
arch/mips/cpu/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
PATCH 1/1 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 <[email protected]>
---
arch/mips/cpu/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/cpu/time.c +1 -1
@@ -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 ; }
Signature · 1 line
2.7.4
PATCH 1/1 MIPS: allow override of get_tbclk()
Am 23.12.19 um 21:53 schrieb Alex Nemirovsky:
Quoted 10 lines
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 <[email protected]>---
arch/mips/cpu/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-mips, thanks.
Signature · 1 line
- Daniel