davinci: da850/omap-l138: Enable 4-bit ecc
authorSudhakar Rajashekhara <sudhakar.raj@ti.com>
Wed, 18 Nov 2009 06:41:41 +0000 (12:11 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 4 Feb 2010 21:29:49 +0000 (13:29 -0800)
This patch initializes the platform data to enable 4-bit
ecc support on DA850/OMAP-L138.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-da850-evm.c

index ac3b5a3448e528c937a75300f0370c4122d38e26..76e4347c666f2a23c54590eb24d9425216c15fa2 100644 (file)
@@ -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,
 };