Browse Source

mgsuvd, mgcoge: added BOOTCOUNT feature.

Signed-off-by: Heiko Schocher <hs@denx.de>
Heiko Schocher 16 years ago
parent
commit
f7e51b2750
2 changed files with 4 additions and 0 deletions
  1. 2 0
      include/configs/mgcoge.h
  2. 2 0
      include/configs/mgsuvd.h

+ 2 - 0
include/configs/mgcoge.h

@@ -76,6 +76,8 @@
 
 
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BAUDRATE		115200
 
 
+#define CONFIG_BOOTCOUNT_LIMIT
+
 /*
 /*
  * Command line configuration.
  * Command line configuration.
  */
  */

+ 2 - 0
include/configs/mgsuvd.h

@@ -48,6 +48,8 @@
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 
 #define CONFIG_BOOTCOUNT_LIMIT
 #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	*/
 #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds	*/