diff options
author | Sneha Narnakaje <nsnehaprabha@ti.com> | 2009-09-16 23:00:13 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-25 10:21:25 -0800 |
commit | dc4c05a5131d691ccbc06c2e670385127871bdbe (patch) | |
tree | 5c80290a6ac6a0bbec5d367b32c59d2b27d06399 | |
parent | 74c987a0d9a327c0133260a29bb5e5efc9de86c6 (diff) | |
download | op-kernel-dev-dc4c05a5131d691ccbc06c2e670385127871bdbe.zip op-kernel-dev-dc4c05a5131d691ccbc06c2e670385127871bdbe.tar.gz |
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>
-rw-r--r-- | arch/arm/mach-davinci/board-dm365-evm.c | 1 |
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 a5ed178..8f49d09 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[] = { |