1From 859158bfab7e72af440622fb9731bcaef4e7d6dc Mon Sep 17 00:00:00 2001
2From: Sukumar Ghorai <s-ghorai@ti.com>
3Date: Fri, 19 Nov 2010 14:45:26 +0000
4Subject: [PATCH] omap: nand: remove hardware ECC as default
5
6Commit 2c01946c6b9ebaa5a89710bc42ca224a7f52f227 (omap3 nand: cleanup
7virtual address usages) wrongly enabled CONFIG_MTD_NAND_OMAP_HWECC
8which breaks boards like beagle and pandora that use software ECC
9for write.
10
11Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed
12from u-boot) and read from kernel.
13
14Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
15Acked-by: David Woodhouse <David.Woodhouse@intel.com>
16[tony@atomide.com: updated comments]
17Signed-off-by: Tony Lindgren <tony@atomide.com>
18---
19 drivers/mtd/nand/omap2.c |    1 -
20 1 files changed, 0 insertions(+), 1 deletions(-)
21
22diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
23index 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-- 
351.7.0.4
36
37