提交 74c987a0 编写于 作者: S Sneha Narnakaje 提交者: Kevin Hilman

davinci: DM355: 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: NSneha Narnakaje <nsnehaprabha@ti.com>
Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
上级 6b0cf4e9
......@@ -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[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册