From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 28 Oct 2008 11:03:21 -0500 Subject: [U-Boot] [PATCH 2/3] iMX31: Add support to copy NAND Flash code to RAM In-Reply-To: <20081027235504.1E7D481C98CF@gemini.denx.de> References: <37367b3a0810230551m2aacfeb8l3b932f8f2a0b3058@mail.gmail.com> <20081027235504.1E7D481C98CF@gemini.denx.de> Message-ID: <490737C9.5050902@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 Wolfgang Denk wrote: > Dear "Alan Carvalho de Assis", > > In message <37367b3a0810230551m2aacfeb8l3b932f8f2a0b3058@mail.gmail.com> you wrote: >> 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 +++++++++ >> 3 files changed, 334 insertions(+), 0 deletions(-) >> create mode 100644 cpu/arm1136/mx31/nand_copy.S > > NAK. > > All this should be in nand_spl/, I think. > > Scott, am I right? Yes. -Scott