public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [ARM] [davinci] timer.c changes
@ 2010-12-02  9:39 Nick Thompson
  2010-12-02 13:32 ` Ben Gardiner
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Thompson @ 2010-12-02  9:39 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-02 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02  9:39 [U-Boot] [ARM] [davinci] timer.c changes Nick Thompson
2010-12-02 13:32 ` Ben Gardiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox