diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2011-02-02 14:58:30 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2011-02-02 14:58:30 +0000 |
commit | 40a4e53e18122a2003637d60afd293d007e1cecf (patch) | |
tree | e6af19e7892c83738c649be4b9b90625dea0665d /target/linux/omap35xx/patches-2.6.36 | |
parent | 910f61bbdb2b5c4fe541b8720fdf268b891c72ea (diff) | |
download | master-187ad058-40a4e53e18122a2003637d60afd293d007e1cecf.tar.gz master-187ad058-40a4e53e18122a2003637d60afd293d007e1cecf.tar.bz2 master-187ad058-40a4e53e18122a2003637d60afd293d007e1cecf.zip |
[gumstix] Add support for ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25310 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap35xx/patches-2.6.36')
-rw-r--r-- | target/linux/omap35xx/patches-2.6.36/002-omap-nand-remove-hardware-ECC-as-default.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/omap35xx/patches-2.6.36/002-omap-nand-remove-hardware-ECC-as-default.patch b/target/linux/omap35xx/patches-2.6.36/002-omap-nand-remove-hardware-ECC-as-default.patch new file mode 100644 index 0000000000..038c1afecd --- /dev/null +++ b/target/linux/omap35xx/patches-2.6.36/002-omap-nand-remove-hardware-ECC-as-default.patch @@ -0,0 +1,36 @@ +From 859158bfab7e72af440622fb9731bcaef4e7d6dc Mon Sep 17 00:00:00 2001 +From: Sukumar Ghorai <s-ghorai@ti.com> +Date: Fri, 19 Nov 2010 14:45:26 +0000 +Subject: [PATCH] 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> +--- + drivers/mtd/nand/omap2.c | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c +index cd41c58..15682ec 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> +-- +1.7.0.4 + |