9
0
Fork 0

sama5d3k: the nand flash is 4 bit ecc capable so use it

this will require to update the bootstrap

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2013-02-01 08:45:21 +01:00 committed by Sascha Hauer
parent 8b30a67cab
commit ab5418b570
1 changed files with 1 additions and 1 deletions

View File

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