[U-Boot] [PATCH 2/3] iMX31: Add support to copy NAND Flash code to RAM
Scott Wood
scottwood at freescale.com
Tue Oct 7 20:03:42 CEST 2008
Alan Carvalho de Assis wrote:
> From 473120de8390abd78014cac9fe0925cb49f57fbe Mon Sep 17 00:00:00 2001
> From: Alan Carvalho de Assis <alan.assis at freescale.com>
> 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 <alan.assis at freescale.com>
> ---
> 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
More information about the U-Boot
mailing list