| Submitter | Kevin Hilman |
|---|---|
| Date | Feb. 27, 2009, 10:29 p.m. |
| Message ID | <87k57ba4z7.fsf@deeprootsystems.com> |
| Download | mbox | patch |
| Permalink | /patch/23824/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index aa70b4e..a2f78ad 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -33,7 +33,6 @@ #include <linux/mtd/nand.h> #include <linux/mtd/partitions.h> -#include <mach/cpu.h> #include <mach/nand.h> #include <asm/mach-types.h> @@ -392,8 +391,6 @@ static int __init nand_davinci_probe(struct platform_device *pdev) /* use board-specific ECC config; else, the best available */ if (pdata) ecc_mode = pdata->ecc_mode; - else if (cpu_is_davinci_dm355()) - ecc_mode = NAND_ECC_HW_SYNDROME; else ecc_mode = NAND_ECC_HW;