[U-Boot] [PATCH v2] mtd: resync with Linux-3.7.1

Sergey Lapin slapin at ossfans.org
Fri Jan 18 12:48:14 CET 2013


Hi, Josh

> >diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
> >index b09e7b7..9cdf35b 100644
> >--- a/drivers/mtd/nand/atmel_nand.c
> >+++ b/drivers/mtd/nand/atmel_nand.c
> >@@ -709,6 +709,7 @@ static int atmel_pmecc_nand_init_params(struct nand_chip *nand,
> >  	nand->ecc.read_page = atmel_nand_pmecc_read_page;
> >  	nand->ecc.write_page = atmel_nand_pmecc_write_page;
> >+	nand->ecc.strength = 1;
> 
> For atmel nand, it should be:
> 
> +	nand->ecc.strength = cap;
> 
> Best Regards,
> Josh Wu

Thanks, changed.



More information about the U-Boot mailing list