From d8667412a8b7e1ad96979bc2191b4e3fa90c8254 Mon Sep 17 00:00:00 2001 From: Fred Fan Date: Thu, 19 Nov 2009 16:43:08 +0800 Subject: ENGR00118978: Timer adjustment for all platforms In current u-boot design, get_timer_masked is not correct and udelay is not accurate when the time is less than 1000us. Thus we need to use ipg clock source for accurate timer. Signed-off-by: Terry Lv --- include/configs/mx51_3stack_android.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/configs/mx51_3stack_android.h') diff --git a/include/configs/mx51_3stack_android.h b/include/configs/mx51_3stack_android.h index 04bcbb8..bed1200 100644 --- a/include/configs/mx51_3stack_android.h +++ b/include/configs/mx51_3stack_android.h @@ -40,7 +40,7 @@ #define CONFIG_SKIP_RELOCATE_UBOOT #define CONFIG_MX51_HCLK_FREQ 24000000 /* RedBoot says 26MHz */ -#define CONFIG_MX51_CLK32 32768 + #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO @@ -89,6 +89,7 @@ #define CONFIG_CMD_DHCP #define CONFIG_CMD_MII #define CONFIG_CMD_NET +#define CONFIG_NET_RETRY_COUNT 100 /* #define CONFIG_CMD_UBI #define CONFIG_CMD_UBIFS @@ -242,7 +243,7 @@ #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR -#define CONFIG_SYS_HZ CONFIG_MX51_CLK32/* use 32kHz clock as source */ +#define CONFIG_SYS_HZ 1000 #define CONFIG_CMDLINE_EDITING 1 -- cgit v1.1