public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] arm926ejs, timer:
Date: Thu, 16 Dec 2010 15:12:41 +0100	[thread overview]
Message-ID: <20101216141241.C87BDBB0BA@gemini.denx.de> (raw)
In-Reply-To: <4D05687F.9090100@emk-elektronik.de>

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

-- 
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

  parent reply	other threads:[~2010-12-16 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10  8:16 [U-Boot] arm926ejs, timer: Heiko Schocher
2010-12-10  8:39 ` Reinhard Meyer
2010-12-10  8:45   ` Reinhard Meyer
2010-12-10  8:51     ` Reinhard Meyer
2010-12-10  9:16       ` Heiko Schocher
2010-12-12 21:16       ` Wolfgang Denk
2010-12-13  0:27         ` Reinhard Meyer
2010-12-13  7:43           ` Albert ARIBAUD
2010-12-16 14:12           ` Wolfgang Denk [this message]
2010-12-10 15:50 ` Nick Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101216141241.C87BDBB0BA@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox