Re: [PATCH] omap: nand: remove hardware ECC as default

2010-11-19 Thread Grazvydas Ignotas
On Thu, Nov 18, 2010 at 8:01 PM, Tony Lindgren t...@atomide.com wrote:
 * Sukumar Ghorai s-gho...@ti.com [101118 06:12]:
 CONFIG_MTD_NAND_OMAP_HWECC defined wronly in patch submitted during 2.6.36
 that using the hardware ECC by default

wrongly


 Signed-off-by: Sukumar Ghorai s-gho...@ti.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

 This looks like a fix for the -rc cycle. Can you please update
 the description a bit to specify which commit broke it and
 what the error is now?

Well it broke NAND for beagle and pandora at least, as those have been
using sw ecc, all IO simply results in ECC errors with that define.
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] omap: nand: remove hardware ECC as default

2010-11-18 Thread Sukumar Ghorai
CONFIG_MTD_NAND_OMAP_HWECC defined wronly in patch submitted during 2.6.36
that using the hardware ECC by default

Signed-off-by: Sukumar Ghorai s-gho...@ti.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

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] omap: nand: remove hardware ECC as default

2010-11-18 Thread Tony Lindgren
* Sukumar Ghorai s-gho...@ti.com [101118 06:12]:
 CONFIG_MTD_NAND_OMAP_HWECC defined wronly in patch submitted during 2.6.36
 that using the hardware ECC by default
 
 Signed-off-by: Sukumar Ghorai s-gho...@ti.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

This looks like a fix for the -rc cycle. Can you please update
the description a bit to specify which commit broke it and
what the error is now?

Regards,

Tony
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html