From: Sneha Narnakaje Date: Thu, 17 Sep 2009 03:00:13 +0000 (-0400) Subject: davinci: DM365: Update NAND driver platform data X-Git-Tag: v2.6.33-rc1~348^2~45 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc4c05a5131d691ccbc06c2e670385127871bdbe;p=karo-tx-linux.git 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: Sneha Narnakaje Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index a5ed178a9d43..8f49d09a94d0 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c @@ -144,6 +144,7 @@ static struct davinci_nand_pdata davinci_nand_data = { .nr_parts = ARRAY_SIZE(davinci_nand_partitions), .ecc_mode = NAND_ECC_HW, .options = NAND_USE_FLASH_BBT, + .ecc_bits = 4, }; static struct resource davinci_nand_resources[] = {