9
0
Fork 0

ARM: atmel: sama5d4: nand: add has_pmecc parameter

Add the missing has_pmecc parameter for sama5d4 based boards.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Bo Shen 2015-01-28 18:08:15 +08:00 committed by Sascha Hauer
parent f0f6a7477b
commit abf0033be7
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ static struct atmel_nand_data nand_pdata = {
.rdy_pin = -EINVAL,
.enable_pin = -EINVAL,
.ecc_mode = NAND_ECC_HW,
.has_pmecc = 1,
.pmecc_sector_size = 512,
.pmecc_corr_cap = 8,
.on_flash_bbt = 1,

View File

@ -40,6 +40,7 @@ static struct atmel_nand_data nand_pdata = {
.rdy_pin = -EINVAL,
.enable_pin = -EINVAL,
.ecc_mode = NAND_ECC_HW,
.has_pmecc = 1,
.pmecc_sector_size = 512,
.pmecc_corr_cap = 8,
.on_flash_bbt = 1,