[U-Boot] [PATCH 1/2] omap3: fix NAND for mcx board

commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5 nand: make 1-bit software ECC configurable
breaks boards using Software ECC and requires that CONFIG_MTD_ECC_SOFT is set to have the previous behavior. Fix for mcx board.
Signed-off-by: Stefano Babic sbabic@denx.de Tom Rini trini@ti.com --- include/configs/mcx.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/mcx.h b/include/configs/mcx.h index 1315c3c..d9bb700 100644 --- a/include/configs/mcx.h +++ b/include/configs/mcx.h @@ -140,6 +140,7 @@ #define CONFIG_MTD_PARTITIONS #define CONFIG_MTD_DEVICE #define CONFIG_CMD_MTDPARTS +#define CONFIG_MTD_ECC_SOFT
#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */

commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5 nand: make 1-bit software ECC configurable
breaks boards using Software ECC and requires that CONFIG_MTD_ECC_SOFT is set to have the previous behavior. Fix for tam3517 based boards.
Signed-off-by: Stefano Babic sbabic@denx.de Tom Rini trini@ti.com --- include/configs/tam3517-common.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h index 4c4321d..aaf9afe 100644 --- a/include/configs/tam3517-common.h +++ b/include/configs/tam3517-common.h @@ -293,6 +293,7 @@ #define CONFIG_MTD_PARTITIONS #define CONFIG_MTD_DEVICE #define CONFIG_CMD_MTDPARTS +#define CONFIG_MTD_ECC_SOFT
/* Setup MTD for NAND on the SOM */ #define MTDIDS_DEFAULT "nand0=omap2-nand.0"

On Fri, Mar 09, 2012 at 04:58:40PM +0100, Stefano Babic wrote:
commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5 nand: make 1-bit software ECC configurable
breaks boards using Software ECC and requires that CONFIG_MTD_ECC_SOFT is set to have the previous behavior. Fix for mcx board.
Signed-off-by: Stefano Babic sbabic@denx.de Tom Rini trini@ti.com
The generic NAND commit has been reverted for some time now, please re-test your boards against current mainline. Thanks!

On 09/03/2012 17:09, Tom Rini wrote:
On Fri, Mar 09, 2012 at 04:58:40PM +0100, Stefano Babic wrote:
commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5 nand: make 1-bit software ECC configurable
breaks boards using Software ECC and requires that CONFIG_MTD_ECC_SOFT is set to have the previous behavior. Fix for mcx board.
Signed-off-by: Stefano Babic sbabic@denx.de Tom Rini trini@ti.com
The generic NAND commit has been reverted for some time now, please re-test your boards against current mainline. Thanks!
Thanks Tom ! Please drop my patches, they are not necessary.
Stefano
participants (2)
-
Stefano Babic
-
Tom Rini