From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 23 Oct 2008 10:39:11 +0200 Subject: [U-Boot] Hangs at relocation on 460EX Target In-Reply-To: <49002854.7090108@embedded-sol.com> References: <20081021153706.GA21379@crust.elkhashab.com> <200810230915.04087.sr@denx.de> <49002854.7090108@embedded-sol.com> Message-ID: <200810231039.11490.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 23 October 2008, Felix Radensky wrote: > >> I've changed > >> > >> if ((attribute & 0x02) == 0x00) > >> > >> to be > >> > >> if (((attribute & 0x02) == 0x00) && (attribute != 0x04)) > > > > Why did you change it this way? Which DDR2 module are you using? And > > what's the value of SPD register 21? > > My change causes the code to go into else branch and set SDRAM_MCOPT1_RDEN > (registered) bit. I'm using Micron 512M registered SODIMM. The value of > SPD register > 21 is 0x4. The full SPD spec is here: > http://www.micron.com/products/spddetail.aspx?part=MT9HTF6472RHY-667F1 Thanks. Ayman, which module are you using and what's your reg 21 value? Does anybody have the time to dig into those specs to find a common solution? Thanks. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================