From: Sneha Narnakaje Date: Thu, 17 Sep 2009 02:59:48 +0000 (-0400) Subject: davinci: DM355: Update NAND driver platform data X-Git-Tag: v2.6.33-rc1~348^2~46 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74c987a0d9a327c0133260a29bb5e5efc9de86c6;p=karo-tx-linux.git 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: Sneha Narnakaje Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c index 77e806798822..f87ef583c294 100644 --- a/arch/arm/mach-davinci/board-dm355-evm.c +++ b/arch/arm/mach-davinci/board-dm355-evm.c @@ -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[] = {