summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-11 22:25:49 +0000
committerwdenk <wdenk>2004-10-11 22:25:49 +0000
commit9455b7f39cecbcd869b1ba49a1307cb97e67360f (patch)
treeb2e8a6ec899c8524315d1a07fb89f795adf2c850 /include/configs
parente1599e83d643c1667a4157d03609c6e29928fb2e (diff)
downloadu-boot-imx-9455b7f39cecbcd869b1ba49a1307cb97e67360f.zip
u-boot-imx-9455b7f39cecbcd869b1ba49a1307cb97e67360f.tar.gz
u-boot-imx-9455b7f39cecbcd869b1ba49a1307cb97e67360f.tar.bz2
Fix CFG_HZ problems on AT91RM9200 systems
[Remember: CFG_HZ should be 1000 on ALL systems!]
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/at91rm9200dk.h3
-rw-r--r--include/configs/cmc_pu2.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/include/configs/at91rm9200dk.h b/include/configs/at91rm9200dk.h
index dbc430d..fb8a610 100644
--- a/include/configs/at91rm9200dk.h
+++ b/include/configs/at91rm9200dk.h
@@ -182,7 +182,8 @@ struct bd_info_ext {
};
#endif
-#define CFG_HZ AT91C_MASTER_CLOCK/2 /* AT91C_TC0_CMR is implicitly set to */
+#define CFG_HZ 1000
+#define CFG_HZ_CLOCK AT91C_MASTER_CLOCK/2 /* AT91C_TC0_CMR is implicitly set to */
/* AT91C_TC_TIMER_DIV1_CLOCK */
#define CONFIG_STACKSIZE (32*1024) /* regular stack */
diff --git a/include/configs/cmc_pu2.h b/include/configs/cmc_pu2.h
index 03f5dde..a08b791 100644
--- a/include/configs/cmc_pu2.h
+++ b/include/configs/cmc_pu2.h
@@ -71,7 +71,7 @@
#undef CONFIG_MODEM_SUPPORT /* disable modem initialization stuff */
-#define CONFIG_HARD_I2C
+#undef CONFIG_HARD_I2C
#ifdef CONFIG_HARD_I2C
#define CFG_I2C_SPEED 0 /* not used */
@@ -90,6 +90,7 @@
#define CONFIG_COMMANDS \
((CONFIG_CMD_DFL | \
CFG_CMD_I2C | \
+ CFG_CMD_DATE | \
CFG_CMD_EEPROM | \
CFG_CMD_DHCP ) & \
~(CFG_CMD_BDI | \
@@ -213,7 +214,8 @@ struct bd_info_ext {
};
#endif
-#define CFG_HZ AT91C_MASTER_CLOCK/2 /* AT91C_TC0_CMR is implicitly set to */
+#define CFG_HZ 1000
+#define CFG_HZ_CLOCK AT91C_MASTER_CLOCK/2 /* AT91C_TC0_CMR is implicitly set to */
/* AT91C_TC_TIMER_DIV1_CLOCK */
#define CONFIG_STACKSIZE (32*1024) /* regular stack */