From: Nick Thompson <nick.thompson@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [ARM] [davinci] timer.c changes
Date: Thu, 02 Dec 2010 09:39:21 +0000 [thread overview]
Message-ID: <4CF76949.3000908@ge.com> (raw)
I have changed the davinci timer code to work with the, originally at91
only, gd variables:
unsigned long timer_rate_hz;
unsigned long tbl;
unsigned long tbu;
unsigned long long timer_reset_value;
It does use the timer_reset_value to keep compatibility with places where
timers are not used correctly.
I have tested it on da830evm and it my board now boots correctly.
Has it been agreed on the way forward for these timer fixes? Is it worth
me posting the patch?
It does seem to me that there would be room for a common layer and
a arch specific tbl/tbu emulation layer as suggested here:
http://lists.denx.de/pipermail/u-boot/2010-November/081377.html
but maybe it would be good to get more boards working prior to release
and then look at how they can be made more common later?
Nick.
next reply other threads:[~2010-12-02 9:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-02 9:39 Nick Thompson [this message]
2010-12-02 13:32 ` [U-Boot] [ARM] [davinci] timer.c changes Ben Gardiner
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=4CF76949.3000908@ge.com \
--to=nick.thompson@ge.com \
--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