[U-Boot-Users] PXA270 support

Detlef Vollmann dv at vollmann.ch
Wed Mar 30 11:12:04 CEST 2005


Sorry that this reply took so long...

Robert Whaley wrote:
> Try timing the sleep command.  Is it accurate?  Take a look at
> cpu/pxa/interrupts.c.
> 
> I believe the CFG is correct in the patch (but I haven't looked at this
> for a while).
Yes, you're correct.  I tested it and checked it against the
specification.

As for the high value of CFG_HZ: yes, while testing I also
had overflow troubles.  But as the relevant function is in CPU
support and not in board support, it's not possible to change
it without breaking all the boards based on this CPU.
To avoid the overflow problem, it might help to add a
mdelay() and maybe even sleep() function.

Detlef

-- 
Detlef Vollmann   vollmann engineering gmbh
Linux and C++ for Embedded Systems    http://www.vollmann.ch/




More information about the U-Boot mailing list