[U-Boot] arm926ejs, timer:

Reinhard Meyer u-boot at emk-elektronik.de
Fri Dec 10 09:39:20 CET 2010


Dear Heiko Schocher,
> Hello,
> 
> just looked in the timer implementation for arm926ejs based boards, and
> found that there is just the at91, davinci, nomadik timer implementation
> fixed in actual u-boot. I want to cleanup this timers too, but
> there are kirkwood, mb86r0x, orion5x, spear, versatile archs which use
> a lastdec var, which is not in global_data.h defined. So the question
> is should we add a lastdec to global_data.h or is it Ok, if I use
> lastinc for cleaning up?

I would suggest to take tbu, tbl, lastinc out of the AT91FAMILY #ifdef
to the generic part.

> 
> Or are there pending patches, which fix this issues for some (all)
> arm926ejs architectures?
at91 timer is still not perfect, it will break after 2**64 ticks. That is well
after the end of the Solar System :)

Best Regards,
Reinhard



More information about the U-Boot mailing list