From: Sudhakar Rajashekhara Date: Wed, 18 Nov 2009 06:41:41 +0000 (+0530) Subject: davinci: da850/omap-l138: Enable 4-bit ecc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc42e335ee6a7dd1f740c0fc868d607cc689d7c4;p=mv-sheeva.git davinci: da850/omap-l138: Enable 4-bit ecc This patch initializes the platform data to enable 4-bit ecc support on DA850/OMAP-L138. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index ac3b5a3448e..76e4347c666 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -131,6 +131,7 @@ static struct davinci_nand_pdata da850_evm_nandflash_data = { .parts = da850_evm_nandflash_partition, .nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition), .ecc_mode = NAND_ECC_HW, + .ecc_bits = 4, .options = NAND_USE_FLASH_BBT, };