From: Niklaus Giger Date: Mon, 14 Jan 2008 12:24:56 +0100 Subject: [U-Boot-Users] ppc_4xx: POST_SPR reports an error with DVLIM Message-ID: <200801141224.56484.niklausgiger@gmx.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi I added POST (including POST_SPR) to my PPC440EPx based hcu5 board. After running I did see by executin "log show" <..> <4>POST spr The value of DVLIM special register is incorrect: 0x00000000 <4>FAILED I close inspection revealed that DVLIM is set to the correct value in _start_440, but afterwards reset to 0 in dflush. Are there any special reasons, why dflush should manipulate DVLIM? Or would it be okay to submit a patch like: diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index a730604..b8c33cc 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -1700,8 +1700,6 @@ trap_reloc: rlwinm r8,r9,0,15,13 rlwinm r8,r8,0,17,15 mtmsr r8 - addi r3,r0,0x0000 - mtspr dvlim,r3 mfspr r3,ivpr addi r4,r0,1024 mtctr r4 --- Best regards -- Niklaus Giger Netstal Maschinen AG CH-8752 Naefels