summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rockchip/rk_timer.c')
-rw-r--r--arch/arm/mach-rockchip/rk_timer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-rockchip/rk_timer.c b/arch/arm/mach-rockchip/rk_timer.c
index f20e64f48e..29d379fa0a 100644
--- a/arch/arm/mach-rockchip/rk_timer.c
+++ b/arch/arm/mach-rockchip/rk_timer.c
@@ -20,13 +20,6 @@ static uint64_t rockchip_get_ticks(void)
return timebase_h << 32 | timebase_l;
}
-static uint64_t usec_to_tick(unsigned int usec)
-{
- uint64_t tick = usec;
- tick *= CONFIG_SYS_TIMER_RATE / (1000 * 1000);
- return tick;
-}
-
void rockchip_udelay(unsigned int usec)
{
uint64_t tmp;