[PATCH 4/7] at91/boards: switch to software ecc as in linux kernel

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 19 05:18:24 EDT 2011


On Fri, Sep 16, 2011 at 02:23:45PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  arch/arm/boards/at91sam9260ek/init.c     |    2 +-
>  arch/arm/boards/at91sam9263ek/init.c     |    2 +-
>  arch/arm/boards/pm9263/init.c            |    2 +-
>  arch/arm/mach-at91/at91sam9g45_devices.c |    2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
> index 861e898..e4b98bf 100644
> --- a/arch/arm/boards/at91sam9260ek/init.c
> +++ b/arch/arm/boards/at91sam9260ek/init.c
> @@ -64,7 +64,7 @@ static struct atmel_nand_data nand_pdata = {
>  	.cle		= 22,
>  /*	.det_pin	= ... not connected */
>  	.ecc_base	= (void __iomem *)(AT91_BASE_SYS + AT91_ECC),
> -	.ecc_mode	= NAND_ECC_HW,
> +	.ecc_mode	= NAND_ECC_SOFT,

What does the Atmel nand bootloader expect (I assume it's possible to
boot from NAND, right?). Is it software or hardware ecc?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list