Commit dc4c05a5 authored by Sneha Narnakaje's avatar Sneha Narnakaje Committed by Kevin Hilman

davinci: DM365: Update NAND driver platform data

This patch updates the NAND driver platform data to use 4-bit ECC and the
ECC_HW/ECC_HW_OOB_FIRST modes.
Signed-off-by: default avatarSneha Narnakaje <nsnehaprabha@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 74c987a0
...@@ -144,6 +144,7 @@ static struct davinci_nand_pdata davinci_nand_data = { ...@@ -144,6 +144,7 @@ static struct davinci_nand_pdata davinci_nand_data = {
.nr_parts = ARRAY_SIZE(davinci_nand_partitions), .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
.ecc_mode = NAND_ECC_HW, .ecc_mode = NAND_ECC_HW,
.options = NAND_USE_FLASH_BBT, .options = NAND_USE_FLASH_BBT,
.ecc_bits = 4,
}; };
static struct resource davinci_nand_resources[] = { static struct resource davinci_nand_resources[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment