clocksource/drivers/orion: Add delay_timer implementation
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 11 Mar 2017 17:42:34 +0000 (17:42 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 7 Apr 2017 14:23:03 +0000 (16:23 +0200)
commit9a4914ce0dff47b53df9ffbf9f48120b86ccb4a3
tree5629c50430e4ae90e435dc19f7a7701f8054c4d1
parent0d9298ea37b5f590f3d10ccc2d8d34d26af3fa84
clocksource/drivers/orion: Add delay_timer implementation

Add an implementation for the ARM delay timer, which is used for
udelay().  This provides less CPU dependent and more accurate delays -
the CPU loop on Marvell Dove appears to calibrate to around 6% too
short.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/time-orion.c