[U-Boot] [PATCH] Tricorder: Fix boot after making software ecc configurable

Thomas Weber weber at corscience.de
Mon Feb 13 09:56:52 CET 2012


The tricorder stops booting with the following message:

U-Boot 2011.12-00325-ga661206 (Feb 13 2012 - 09:29:50)

OMAP3503-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz
OMAP3 Tricorder + LPDDR/NAND
I2C:   ready
DRAM:  128 MiB
NAND:  CONFIG_MTD_ECC_SOFT not enabled
0 MiB
MMC:   OMAP SD/MMC: 0

Adding CONFIG_MTD_ECC_SOFT to config file fixes this problem.

Signed-off-by: Thomas Weber <weber at corscience.de>
---
 include/configs/tricorder.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index f87696b..0e8003f 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -110,6 +110,7 @@
 /* Board NAND Info */
 #define CONFIG_SYS_NO_FLASH		/* no NOR flash */
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
+#define CONFIG_MTD_ECC_SOFT
 #define MTDIDS_DEFAULT			"nand0=nand"
 #define MTDPARTS_DEFAULT		"mtdparts=nand:" \
 						"512k(u-boot-spl)," \
-- 
1.7.8.4



More information about the U-Boot mailing list