
Dear Reinhard Meyer,
In message 4D05687F.9090100@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