From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 2 Jun 2008 21:17:16 +0200 Subject: [U-Boot-Users] [PATCH] NAND_SPL: Remove initdram() call from nand_boot() In-Reply-To: <4844452C.60805@freescale.com> References: <1212432526-26485-1-git-send-email-sr@denx.de> <4844452C.60805@freescale.com> Message-ID: <200806022117.16136.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 Monday 02 June 2008, Scott Wood wrote: > Stefan Roese wrote: > > This patch removes the SDRAM initilization call initdram() from > > nand_boot(). This is done mainly because I experienced problems with > > some boards like Kilauea (405EX), which don't have internal SRAM (OCM) > > and relocation needs to be done to SDRAM before the NAND controller > > can get accessed. When initdram() is called later on in nand_boot(), > > this can lead to problems with variables in the bss sections like > > nand_ecc_pos[]. > > Are there any existing platforms that need an initdram() added elsewhere > to accomodate this? Currently only the 4xx ones. I sent the patch for them a few minutes ago as you already noticed. 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 =====================================================================