[U-Boot] [PATCH 2/2] Fix compile errors for atmel_nand with hw-ecc and new SoC access

Scott Wood scottwood at freescale.com
Fri Apr 2 18:38:54 CEST 2010


On Sun, Mar 28, 2010 at 02:42:25PM +0200, Alexander Holler wrote:
> atmel_nand.c with HW-ECC doesn't compile with the new SoC access.
> Using CONFIG_AT91_LEGACY to circumvent the compile errors only leaves
> the driver in a state where it doesn't find the NAND.
> 
> To use HW-ECC with atmel_nand one has to use
> CONFIG_SYS_NAND_ECC_BASE AT91_ECC0_BASE (instead of AT91_ECC0)
> for an AT91SAM9263 or AT91_ECC_BASE for an AT91SAM9260.
> 
> I've removed three unused variables too.
> ---
>  drivers/mtd/nand/atmel_nand.c |    7 +++----
>  1 files changed, 3 insertions(+), 4 deletions(-)

Missing Signed-off-by line.

-Scott


More information about the U-Boot mailing list