mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
lib: time: export usec_to_tick()
In the UEFI Stall() boottime service we need access to usec_to_tick(). Export the function. Remove redundant implementation in arch/arm/mach-rockchip/rk_timer.c. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -139,7 +139,7 @@ unsigned long __weak notrace timer_get_us(void)
|
||||
return tick_to_time(get_ticks() * 1000);
|
||||
}
|
||||
|
||||
static uint64_t usec_to_tick(unsigned long usec)
|
||||
uint64_t usec_to_tick(unsigned long usec)
|
||||
{
|
||||
uint64_t tick = usec;
|
||||
tick *= get_tbclk();
|
||||
|
Reference in New Issue
Block a user