[U-Boot] [PATCH (repost)] Nomadik: fix reset_timer()

Alessandro Rubini rubini at unipv.it
Tue Nov 3 16:23:54 CET 2009


> Um... why is READ_TIMER doing such a stupid thing as negating values?

Because the counter counts down. I could have returns "0 - value" or
"~value".  Since I chose the latter initially, this fix keeps the same
approach.  I can't return the value I read, since it goes backwards.

/alessandro


More information about the U-Boot mailing list