[PATCH 1/1] sama5d3k: the nand flash is 4 bit ecc capable so use it

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 4 03:50:08 EST 2013


On Fri, Feb 01, 2013 at 08:45:21AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> this will require to update the bootstrap
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Applied, thanks

Sascha

> ---
>  arch/arm/boards/sama5d3xek/init.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
> index ae23a31..9a22356 100644
> --- a/arch/arm/boards/sama5d3xek/init.c
> +++ b/arch/arm/boards/sama5d3xek/init.c
> @@ -63,7 +63,7 @@ static struct atmel_nand_data nand_pdata = {
>  	.enable_pin	= -EINVAL,
>  	.ecc_mode	= NAND_ECC_HW,
>  	.pmecc_sector_size = 512,
> -	.pmecc_corr_cap = 2,
> +	.pmecc_corr_cap = 4,
>  #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16)
>  	.bus_width_16	= 1,
>  #endif
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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