mgsuvd, mgcoge: added BOOTCOUNT feature.
Signed-off-by: Heiko Schocher <hs@denx.de>
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index cdbfd67..ecf93e9 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 eda71c0..4ecaeac 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 */