aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSneha Narnakaje <nsnehaprabha@ti.com>2009-09-16 22:59:48 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-25 13:21:24 -0500
commit74c987a0d9a327c0133260a29bb5e5efc9de86c6 (patch)
tree1b8db6ef24e22cba3a0e637e8a36db3d20661123 /arch/arm
parent6b0cf4e93c3212810f775967bdb2206be65eccec (diff)
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 <nsnehaprabha@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-davinci/board-dm355-evm.c3
1 files changed, 2 insertions, 1 deletions
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 = {
86 .mask_chipsel = BIT(14), 86 .mask_chipsel = BIT(14),
87 .parts = davinci_nand_partitions, 87 .parts = davinci_nand_partitions,
88 .nr_parts = ARRAY_SIZE(davinci_nand_partitions), 88 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
89 .ecc_mode = NAND_ECC_HW_SYNDROME, 89 .ecc_mode = NAND_ECC_HW,
90 .options = NAND_USE_FLASH_BBT, 90 .options = NAND_USE_FLASH_BBT,
91 .ecc_bits = 4,
91}; 92};
92 93
93static struct resource davinci_nand_resources[] = { 94static struct resource davinci_nand_resources[] = {