diff options
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
-rw-r--r-- | drivers/mtd/nand/davinci_nand.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index 4bedd8dec61e..4034ac945041 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <linux/mtd/nand.h> | 33 | #include <linux/mtd/nand.h> |
34 | #include <linux/mtd/partitions.h> | 34 | #include <linux/mtd/partitions.h> |
35 | 35 | ||
36 | #include <mach/cpu.h> | ||
37 | #include <mach/nand.h> | 36 | #include <mach/nand.h> |
38 | 37 | ||
39 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
@@ -392,8 +391,6 @@ static int __init nand_davinci_probe(struct platform_device *pdev) | |||
392 | /* use board-specific ECC config; else, the best available */ | 391 | /* use board-specific ECC config; else, the best available */ |
393 | if (pdata) | 392 | if (pdata) |
394 | ecc_mode = pdata->ecc_mode; | 393 | ecc_mode = pdata->ecc_mode; |
395 | else if (cpu_is_davinci_dm355()) | ||
396 | ecc_mode = NAND_ECC_HW_SYNDROME; | ||
397 | else | 394 | else |
398 | ecc_mode = NAND_ECC_HW; | 395 | ecc_mode = NAND_ECC_HW; |
399 | 396 | ||