From 94a3312920b6f9b5da27309549fb73650718c10a Mon Sep 17 00:00:00 2001 From: Micha Kalfon Date: Wed, 11 Feb 2009 19:50:11 +0200 Subject: pxa: fixing get_timer to return time in miliseconds. Fixing the get_timer function to return time in miliseconds instead of ticks. Also fixed PXA boards to use the conventional value of 1000 for CONFIG_SYS_HZ. Signed-off-by: Micha Kalfon --- include/configs/pxa255_idp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/pxa255_idp.h') diff --git a/include/configs/pxa255_idp.h b/include/configs/pxa255_idp.h index f81103b795..fa53cf4453 100644 --- a/include/configs/pxa255_idp.h +++ b/include/configs/pxa255_idp.h @@ -241,7 +241,7 @@ #define CONFIG_SYS_LOAD_ADDR 0xa0800000 /* default load address */ -#define CONFIG_SYS_HZ 3686400 /* incrementer freq: 3.6864 MHz */ +#define CONFIG_SYS_HZ 1000 #define CONFIG_SYS_CPUSPEED 0x161 /* set core clock to 400/200/100 MHz */ #define RTC 1 /* enable 32KHz osc */ -- cgit v1.2.1