| 1 | From 859158bfab7e72af440622fb9731bcaef4e7d6dc Mon Sep 17 00:00:00 2001 |
| 2 | From: Sukumar Ghorai <s-ghorai@ti.com> |
| 3 | Date: Fri, 19 Nov 2010 14:45:26 +0000 |
| 4 | Subject: [PATCH] omap: nand: remove hardware ECC as default |
| 5 | |
| 6 | Commit 2c01946c6b9ebaa5a89710bc42ca224a7f52f227 (omap3 nand: cleanup |
| 7 | virtual address usages) wrongly enabled CONFIG_MTD_NAND_OMAP_HWECC |
| 8 | which breaks boards like beagle and pandora that use software ECC |
| 9 | for write. |
| 10 | |
| 11 | Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed |
| 12 | from u-boot) and read from kernel. |
| 13 | |
| 14 | Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com> |
| 15 | Acked-by: David Woodhouse <David.Woodhouse@intel.com> |
| 16 | [tony@atomide.com: updated comments] |
| 17 | Signed-off-by: Tony Lindgren <tony@atomide.com> |
| 18 | --- |
| 19 | drivers/mtd/nand/omap2.c | 1 - |
| 20 | 1 files changed, 0 insertions(+), 1 deletions(-) |
| 21 | |
| 22 | diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c |
| 23 | index cd41c58..15682ec 100644 |
| 24 | --- a/drivers/mtd/nand/omap2.c |
| 25 | +++ b/drivers/mtd/nand/omap2.c |
| 26 | @@ -7,7 +7,6 @@ |
| 27 | * it under the terms of the GNU General Public License version 2 as |
| 28 | * published by the Free Software Foundation. |
| 29 | */ |
| 30 | -#define CONFIG_MTD_NAND_OMAP_HWECC |
| 31 | |
| 32 | #include <linux/platform_device.h> |
| 33 | #include <linux/dma-mapping.h> |
| 34 | -- |
| 35 | 1.7.0.4 |
| 36 | |
| 37 | |