summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSneha Narnakaje <nsnehaprabha@ti.com>2009-09-16 23:00:13 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-25 10:21:25 -0800
commitdc4c05a5131d691ccbc06c2e670385127871bdbe (patch)
tree5c80290a6ac6a0bbec5d367b32c59d2b27d06399 /arch
parent74c987a0d9a327c0133260a29bb5e5efc9de86c6 (diff)
downloadblackbird-op-linux-dc4c05a5131d691ccbc06c2e670385127871bdbe.tar.gz
blackbird-op-linux-dc4c05a5131d691ccbc06c2e670385127871bdbe.zip
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 <nsnehaprabha@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/board-dm365-evm.c1
1 files changed, 1 insertions, 0 deletions
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[] = {
OpenPOWER on IntegriCloud