From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Thu, 23 Dec 2010 19:25:04 +0100 Subject: [U-Boot] Fixing IXP42x boards - some general questions In-Reply-To: <4D133263.4020402@free.fr> References: <4D13175F.8030207@discworld.dascon.de> <4D132282.9060403@free.fr> <4D1326C6.10905@discworld.dascon.de> <4D133263.4020402@free.fr> Message-ID: <4D139400.2050004@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 12:28 PM, schrieb Albert ARIBAUD: > > >>>> What about interrupts? Use them or avoid them? >>> I say in any case don't use them before running from RAM; and if you can >>> avoid them in u-boot without incurring a huge performance penalty, I >>> would suggest avoiding them altogether. >> Fine with me. I got the non-interrupt code running, and will simply >> leave the (broken) interrupt code as is if that is OK. > Maybe it would be better to remove it. If someone really feels the need > to revive it, they can copy back it from a previous commit where it > still exists. 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. Rather than trying to fix this, I will remove the broken parts. I'll do some more cleanup next week, test all boards I have here, and post patches for review. cu Michael