mirror of
https://xff.cz/git/u-boot/
synced 2025-09-05 10:42:10 +02:00
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>
This commit is contained in:
committed by
Daniel Schwierzeck
parent
ebdc278954
commit
47a1933aa7
@@ -13,7 +13,7 @@ unsigned long notrace timer_read_counter(void)
|
|||||||
return read_c0_count();
|
return read_c0_count();
|
||||||
}
|
}
|
||||||
|
|
||||||
ulong notrace get_tbclk(void)
|
ulong notrace __weak get_tbclk(void)
|
||||||
{
|
{
|
||||||
return CONFIG_SYS_MIPS_TIMER_FREQ;
|
return CONFIG_SYS_MIPS_TIMER_FREQ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user