[U-Boot] [PATCH 29/31] 8xx, kmsupx4: add bootcount support
Heiko Schocher
hs at denx.de
Wed Jan 28 10:40:54 CET 2009
Signed-off-by: Heiko Schocher <hs at denx.de>
---
include/configs/keymile-common.h | 2 +-
include/configs/km8xx.h | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/configs/keymile-common.h b/include/configs/keymile-common.h
index 20f7bab..3736cd8 100644
--- a/include/configs/keymile-common.h
+++ b/include/configs/keymile-common.h
@@ -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
diff --git a/include/configs/km8xx.h b/include/configs/km8xx.h
index 0ab75b4..237eb6a 100644
--- a/include/configs/km8xx.h
+++ b/include/configs/km8xx.h
@@ -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;" \
--
1.6.0.6
--
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