From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Thu, 23 Dec 2010 21:17:53 +0100 Subject: [U-Boot] Fixing IXP42x boards - some general questions In-Reply-To: <4D139929.5000700@free.fr> References: <4D13175F.8030207@discworld.dascon.de> <4D132282.9060403@free.fr> <4D1326C6.10905@discworld.dascon.de> <4D133263.4020402@free.fr> <4D139400.2050004@discworld.dascon.de> <4D139929.5000700@free.fr> Message-ID: <4D13AE71.30703@discworld.dascon.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 12/23/2010 07:47 PM, schrieb Albert ARIBAUD: > Le 23/12/2010 19:25, Michael Schwingen a ?crit : > >> OK. It seems the interrupt code is more broken than I thought - the >> udelay implementation relies on a variable that is set *before* >> relocation - in BSS. > And the non-interrupt code does not? No. After the rewrite, the code does delay-to-timer-tic conversion and uses the timebase counter in the IXP (which always counts up, with a fixed rate, and has an overflow flag) to do the timing. cu Michael