[U-Boot] [PATCH] mgsuvd, mgcoge: added BOOTCOUNT feature.

Heiko Schocher hs at denx.de
Sat Sep 27 09:47:24 CEST 2008


Signed-off-by: Heiko Schocher <hs at denx.de>
---
 include/configs/mgcoge.h |    2 ++
 include/configs/mgsuvd.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index 858c8c1..9475031 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -76,6 +76,8 @@

 #define CONFIG_BAUDRATE		115200

+#define CONFIG_BOOTCOUNT_LIMIT
+
 /*
  * Command line configuration.
  */
diff --git a/include/configs/mgsuvd.h b/include/configs/mgsuvd.h
index 5e30493..b302e04 100644
--- a/include/configs/mgsuvd.h
+++ b/include/configs/mgsuvd.h
@@ -48,6 +48,8 @@
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/

 #define CONFIG_BOOTCOUNT_LIMIT
+#define CFG_CPM_BOOTCOUNT_ADDR	0x1eb0	/* In case of SMC relocation, the
+					 * default value is not working */

 #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds	*/

-- 
1.5.6.1

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list