Skip to contentSkip to conversation

8xx, kmsupx4: add bootcount support

PATCH New Heiko Schocher 1 participant 1 message Jan 28, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 29/31 8xx, kmsupx4: add bootcount support

---
 include/configs/keymile-common.h |    2 +-
 include/configs/km8xx.h          |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)
include/configs/keymile-common.h +1 -1
index 20f7bab..3736cd8 100644
@@ -27,7 +27,7 @@
 /* Do boardspecific init for all boards */
 #define CONFIG_BOARD_EARLY_INIT_R       1
 
-#if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD)
+#if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD) || defined(CONFIG_KMSUPX4)
 #define CONFIG_BOOTCOUNT_LIMIT
 #endif
 
include/configs/km8xx.h +1 -3
index 0ab75b4..237eb6a 100644
@@ -54,10 +54,8 @@
 #define CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
 #define CONFIG_SYS_SMC_RXBUFLEN		128
 
-#if defined(CONFIG_MGSUVD)
 #define CONFIG_SYS_CPM_BOOTCOUNT_ADDR	0x1eb0	/* In case of SMC relocation, the
-					 * default value is not working */
-#endif
+						 * default value is not working */
 
 #define CONFIG_PREBOOT	"echo;" \
 	"echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \
Signature · 5 lines
1.6.0.6

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