From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Vollmann Date: Wed, 30 Mar 2005 11:12:04 +0200 Subject: [U-Boot-Users] PXA270 support References: <42319199.18D91EB@vollmann.ch> <4231C378.60905@applieddata.net> <4235F2BE.33D9091A@vollmann.ch> <4235F5BA.1040705@applieddata.net> Message-ID: <424A6D64.7384108F@vollmann.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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/