Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74c987a0 authored by Sneha Narnakaje's avatar Sneha Narnakaje Committed by Kevin Hilman
Browse files

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: default avatarSneha Narnakaje <nsnehaprabha@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 6b0cf4e9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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[] = {