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
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
11 Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed
12 from u-boot) and read from kernel.
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>
19 drivers/mtd/nand/omap2.c | 1 -
20 1 files changed, 0 insertions(+), 1 deletions(-)
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
27 * it under the terms of the GNU General Public License version 2 as
28 * published by the Free Software Foundation.
30 -#define CONFIG_MTD_NAND_OMAP_HWECC
32 #include <linux/platform_device.h>
33 #include <linux/dma-mapping.h>