From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 02 Jun 2008 14:15:15 -0500 Subject: [U-Boot-Users] [PATCH] NAND_SPL: Remove initdram() call from nand_boot() In-Reply-To: <1212432526-26485-1-git-send-email-sr@denx.de> References: <1212432526-26485-1-git-send-email-sr@denx.de> Message-ID: <484446C3.1040801@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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[]. > > Signed-off-by: Stefan Roese Acked-by: Scott Wood Please send via the 4xx tree in order for the initdram move to be atomic. -Scott