From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 07 Oct 2008 13:03:42 -0500 Subject: [U-Boot] [PATCH 2/3] iMX31: Add support to copy NAND Flash code to RAM In-Reply-To: <37367b3a0810071101g5143e675t8d476511dd5e3447@mail.gmail.com> References: <37367b3a0810071101g5143e675t8d476511dd5e3447@mail.gmail.com> Message-ID: <48EBA47E.7020107@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 Alan Carvalho de Assis wrote: > From 473120de8390abd78014cac9fe0925cb49f57fbe Mon Sep 17 00:00:00 2001 > From: Alan Carvalho de Assis > Date: Sun, 5 Oct 2008 19:59:47 -0300 > Subject: [PATCH] iMX31: Add support to copy NAND Flash code to RAM > > This code is executed from internal 2KB NAND Flash Controller RAM buffer > and will copy the remaining U-Boot code from NAND Flash verifying its > bad blocks (case it exists). > > Signed-off-by: Alan Carvalho de Assis > --- > cpu/arm1136/mx31/Makefile | 2 + > cpu/arm1136/mx31/nand_copy.S | 263 +++++++++++++++++++++++++++++++++ > include/asm-arm/arch-mx31/mx31-regs.h | 69 +++++++++ Please use the nand_spl infrastructure to whatever extent is practical. Does this code really need to be in assembly to fit? -Scott