
4 Nov
2013
4 Nov
'13
10:31 p.m.
On Fri, Oct 04, 2013 at 10:22:39AM -0500, Rob Herring wrote:
From: Rob Herring rob.herring@calxeda.com
Much of the timer code is re-implemented for each platform/arch yet it is all pretty much the same code.
This series introduces a common implementation of timer functions and simplifies the platform code down to 2 or 3 config defines or 2 simple functions. It is intended for platforms with 32-bit freerunning timers. I've converted SH and a couple of ARM platforms as an example, but there are many more still that can be converted. This probably could be extended to work with 16-bit timers as well.
I've compiled on ARM, SH4, and PPC.
For the series, applied to u-boot/master, thanks!
--
Tom