[ARM] orion: sched_clock implementation for orion platforms
authorStefan Agner <stefan@agner.ch>
Tue, 12 May 2009 17:30:41 +0000 (10:30 -0700)
committerNicolas Pitre <nico@cam.org>
Mon, 8 Jun 2009 17:04:54 +0000 (13:04 -0400)
commit8a3269fc21cc4405d80b362139c078cf655a505a
tree5b8167964d803515471e1a7450eb1f4fd74655c9
parente50b6befae9ea91c2d190fb78ff1e06a0b950add
[ARM] orion: sched_clock implementation for orion platforms

sched_clock implementation for orion platform. Its realized using
free-running clocksource timer, which provides a resolution of 7.5ns
(depending on tclk). It's derived from PXA's sched_clock implementation.

[ nico: renamed orion2ns to tclk2ns, fixed max value in the comment ]

Signed-off-by: Stefan Agner <stefan.agner@yahoo.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/plat-orion/time.c