clocksource/drivers/armada-370-xp: Implement ARM delay timer
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Oct 2015 15:19:20 +0000 (16:19 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 19 Oct 2015 20:42:14 +0000 (22:42 +0200)
commitcb0f2538039c65f2bb64a9d427dbe9dd7d0f71a6
treea6996906da3f837f4b5a2d9c84fd91a81d1fb341
parentccd63ce471c9b69663783e919ca4dba9967cd690
clocksource/drivers/armada-370-xp: Implement ARM delay timer

Implement an ARM delay timer to be used for udelay() on Armada 37x
platforms.  This allows us to skip the delay loop calibration at boot,
saving 180ms on the boot time of the kernel (which is around 10%).

It also means that udelay() will be unaffected by CPU frequency changes
when cpufreq is enabled on these platforms.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
drivers/clocksource/time-armada-370-xp.c