iop: clocksource support
authorMikael Pettersson <mikpe@it.uu.se>
Thu, 29 Oct 2009 18:46:54 +0000 (11:46 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 29 Oct 2009 18:46:54 +0000 (11:46 -0700)
This updates the IOP platform to expose the free-running
timer 1 as a clocksource object. This timer is now also
properly initialised, which requires a new write_tcr1()
function from the mach-specific code. Apart from the
explicit initialisation, there is no functional change
in how timer 1 is programmed.

Tested on n2100, compile-tested for all plat-iop machines.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found