
In message 20080710093001.GR4595@pengutronix.de you wrote:
How about using the Linux clocksource framework for U-Boot? I did this
I have to admit that I don't know how big that code is?
Currently U-Boot has many timing functions like get_timer, get_timer_masked, reset_timer, reset_timer_masked, udelay and I suppose most people do not understand the meaning of those functions, as the differing implementations show.
I have to admit that I don't have a clue why get_timer_masked or reset_timer_masked would be needed. Originally (see the PPC implementation), there was only get_timer, reset_timer, and udelay (and IIRC reset_timer was not even necessary).
Not that I volunteer to do this job though :(
What a pity :-)
Best regards,
Wolfgang Denk