In message <[EMAIL PROTECTED]> 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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Ever try. Ever fail. No matter. Try again. Fail again. Fail better. -- S. Beckett ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users