|
@@ -86,8 +86,9 @@ static struct davinci_nand_pdata davinci_nand_data = {
|
|
|
.mask_chipsel = BIT(14),
|
|
|
.parts = davinci_nand_partitions,
|
|
|
.nr_parts = ARRAY_SIZE(davinci_nand_partitions),
|
|
|
- .ecc_mode = NAND_ECC_HW_SYNDROME,
|
|
|
+ .ecc_mode = NAND_ECC_HW,
|
|
|
.options = NAND_USE_FLASH_BBT,
|
|
|
+ .ecc_bits = 4,
|
|
|
};
|
|
|
|
|
|
static struct resource davinci_nand_resources[] = {
|