[U-Boot] arm926ejs, timer:
Wolfgang Denk
wd at denx.de
Thu Dec 16 15:12:41 CET 2010
Dear Reinhard Meyer,
In message <4D05687F.9090100 at 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: wd at 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
More information about the U-Boot
mailing list