summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorSudhakar Rajashekhara <sudhakar.raj@ti.com>2009-11-18 12:11:41 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 13:29:49 -0800
commitfc42e335ee6a7dd1f740c0fc868d607cc689d7c4 (patch)
treeb74a4992e7ecac22e866f36cccf47016cdf6e7f5 /arch/arm/mach-davinci
parente2abd5a282b2b146aeae7515fb42c3dbd2ff7204 (diff)
downloadlinux-fc42e335ee6a7dd1f740c0fc868d607cc689d7c4.tar.gz
linux-fc42e335ee6a7dd1f740c0fc868d607cc689d7c4.tar.bz2
linux-fc42e335ee6a7dd1f740c0fc868d607cc689d7c4.zip
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 <sudhakar.raj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/board-da850-evm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index ac3b5a3448e5..76e4347c666f 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,
};