ARM: orion: implement ARM delay timer
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Oct 2015 15:00:35 +0000 (16:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 26 Jan 2016 23:45:05 +0000 (23:45 +0000)
commitf19768ce0e84ac8a1ab03f87784bdf94bf94e140
tree5841678d336dbe49cc19f3d7f5c3052fa1e33ae6
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ARM: orion: implement ARM delay timer

Implement an ARM delay timer to be used for udelay() on orion legacy
platforms.  This allows us to skip the delay loop calibration at boot.

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

Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-orion/time.c