]> git.sur5r.net Git - u-boot/commit
ep93xx: Refactoring of timer code
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Tue, 23 Feb 2010 23:22:09 +0000 (00:22 +0100)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:35 +0000 (12:36 -0600)
commitc7ad13a24295ded880d7bcd17181df4a5f3bac58
treea06890127d7f3069d12051693470de2d08c9eaa0
parentd9f505e3cddbb7afce26dcfe0fd19b207ee57c09
ep93xx: Refactoring of timer code

ep93xx: Refactoring of the timer code, including the following changes

 * use a free running timer instead of a periodical one
 * use unsigned long long for total number of ticks
 * hold the timer state in a structure instead of separate variables
 * increment the timer counter instead of decrementing it
 * remove unused function udelay_masked()
 * remove unused function set_timer()

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
cpu/arm920t/ep93xx/timer.c