[U-Boot] [PATCH 2/2] arm: omap: cm_t35: fix nand sw ecc incompatibility with X-Loader

Nikita Kiryanov nikita at compulab.co.il
Wed Dec 11 17:57:44 CET 2013


cm_t35 boards use X-Loader to boot U-Boot. X-Loader expects U-Boot to be written
to NAND with software ECC.
Use CONFIG_NAND_OMAP_SW_ECC_LEGACY to make U-Boot configure software ECC in
X-Loader compatible way.

Cc: Igor Grinberg <grinberg at compulab.co.il>
Cc: Tom Rini <trini at ti.com>
Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
---
 include/configs/cm_t35.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 2e865c0..9bcaa75 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -158,6 +158,7 @@
  */
 #define CONFIG_SYS_NAND_QUIET_TEST
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_NAND_OMAP_SW_ECC_LEGACY
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
-- 
1.8.1.2



More information about the U-Boot mailing list