summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukumar Ghorai <s-ghorai@ti.com>2010-11-19 14:45:26 +0000
committerTony Lindgren <tony@atomide.com>2010-12-06 16:00:08 -0800
commit859158bfab7e72af440622fb9731bcaef4e7d6dc (patch)
tree0539887822708489b5b7021e2da02dbfcf6a358e
parentf811036476d7c8a9b594ebcdcf481bdbe497eb13 (diff)
downloadlinux-stable-859158bfab7e72af440622fb9731bcaef4e7d6dc.tar.gz
linux-stable-859158bfab7e72af440622fb9731bcaef4e7d6dc.tar.bz2
linux-stable-859158bfab7e72af440622fb9731bcaef4e7d6dc.zip
omap: nand: remove hardware ECC as default
Commit 2c01946c6b9ebaa5a89710bc42ca224a7f52f227 (omap3 nand: cleanup virtual address usages) wrongly enabled CONFIG_MTD_NAND_OMAP_HWECC which breaks boards like beagle and pandora that use software ECC for write. Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed from u-boot) and read from kernel. Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com> Acked-by: David Woodhouse <David.Woodhouse@intel.com> [tony@atomide.com: updated comments] Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--drivers/mtd/nand/omap2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index cd41c58b5bbd..15682ec8530e 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -7,7 +7,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#define CONFIG_MTD_NAND_OMAP_HWECC
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>