From: Ralf Baechle <ralf@linux-mips.org>
To: Pete Popov <ppopov@embeddedalley.com>
Cc: Clem Taylor <clem.taylor@gmail.com>, linux-mips@linux-mips.org
Subject: Re: mdelay() from board_setup() [is default value for loops_per_jiffy way off?]
Date: Wed, 20 Apr 2005 19:07:20 +0100 [thread overview]
Message-ID: <20050420180720.GK5212@linux-mips.org> (raw)
In-Reply-To: <42669862.7000405@embeddedalley.com>
On Wed, Apr 20, 2005 at 10:58:58AM -0700, Pete Popov wrote:
> It's too early in board_setup() to use the standard delay routines. You
> can't use those until after calibrate_delay() runs. To do precise delays in
> board_setup, you'll have to do something yourself where you read the cp0
> timer periodically and wait a certain amount of time.
And make sure not to be trapped by wrap-arounds of that counter. Also it
doesn't count the same speed on all processors ...
Ralf
prev parent reply other threads:[~2005-04-20 18:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-20 17:50 mdelay() from board_setup() [is default value for loops_per_jiffy way off?] Clem Taylor
2005-04-20 17:58 ` Pete Popov
2005-04-20 18:07 ` Ralf Baechle [this message]
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=20050420180720.GK5212@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=clem.taylor@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ppopov@embeddedalley.com \
/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