From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000.
Date: Tue, 21 Apr 2009 00:10:18 +0200 [thread overview]
Message-ID: <20090420221018.GA1853@localhost.localdomain> (raw)
In-Reply-To: <49ECB081.9050709@googlemail.com>
On Mon, Apr 20, 2009 at 07:27:29PM +0200, Dirk Behme wrote:
> Ladislav Michl wrote:
>> After messing with OMAP1 timer code (which is copied again and again over
>> tree) I found such a reason. It is called 'void udelay(unsigned long usec)'
>> implementation and I hereby leaving its bugfixing as an excercise for a
>> reader [1].
>
> Would you mind giving some more details? This would avoid wasting time
> to re-think about it (and maybe doing it wrong again) and would let us
> better use the time for fixing the issues you see.
udelay is implemented using get_timer_masked and since that omap3 patch
limits timer resolution to 1ms, you get into trouble asking it to delay
100us as some drivers do.
ladis
prev parent reply other threads:[~2009-04-20 22:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 10:19 [U-Boot] [PATCH] OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000 Dirk Behme
2009-03-31 20:29 ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01 18:03 ` Dirk Behme
2009-04-01 22:43 ` Wolfgang Denk
2009-04-02 10:42 ` Ladislav Michl
2009-04-02 10:48 ` [U-Boot] [PATCH v2] " Ladislav Michl
2009-04-20 19:07 ` [U-Boot] [PATCH] " Ladislav Michl
2009-04-20 17:27 ` Dirk Behme
2009-04-20 22:10 ` Ladislav Michl [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=20090420221018.GA1853@localhost.localdomain \
--to=ladis@linux-mips.org \
--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