Dear Reinhard Meyer, In message <4d05687f.9090...@emk-elektronik.de> you wrote: > > > NAK. Please let's agree on common names. Eventually we will even > > come up with a common implementation later (with just arch-specific > > "accessor" routines). > > Replace "arch" by "SoC" here! ARM itself does not have a timer (in contrast to > powerpc where tbu,tbl is part of the architecture) ! > > Then its a bad idea to take tbu,tbl out of the #ifdef AT91FAMILY part > when all other ARM timer implementations do not use tbu. > > Its simple to NAK attempts to come up with "common" names that are NOT > misnomers on some implementations... tbu, tbl are certainly misnomers on all > non AT91 timer implementations...
Maybe we should lean back and have a look at what Linux is doing in this area? The recent patch series "64-bit sched_clock" on the lak ML seems to fit pretty well :-) See http://thread.gmane.org/gmane.linux.ports.arm.kernel/99740 Can we copy from Linux? 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: w...@denx.de ... The things love can drive a man to -- the ecstasies, the mise- ries, the broken rules, the desperate chances, the glorious failures and the glorious victories. -- McCoy, "Requiem for Methuselah", stardate 5843.7 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot