diff options
author | Micha Kalfon <smichak.uv@gmail.com> | 2009-02-11 19:50:11 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-02-20 03:24:08 +0100 |
commit | 94a3312920b6f9b5da27309549fb73650718c10a (patch) | |
tree | 9999ba7c12e606405953d549c842130044322c9f /include/configs/xsengine.h | |
parent | e5e88c3614b79b54719905f66aefb51f9494bc1f (diff) | |
download | u-boot-imx-94a3312920b6f9b5da27309549fb73650718c10a.zip u-boot-imx-94a3312920b6f9b5da27309549fb73650718c10a.tar.gz u-boot-imx-94a3312920b6f9b5da27309549fb73650718c10a.tar.bz2 |
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 <smichak.uv@gmail.com>
Diffstat (limited to 'include/configs/xsengine.h')
-rw-r--r-- | include/configs/xsengine.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/xsengine.h b/include/configs/xsengine.h index b727413..2fca956 100644 --- a/include/configs/xsengine.h +++ b/include/configs/xsengine.h @@ -35,10 +35,7 @@ #define CONFIG_DOS_PARTITION 1 #define BOARD_LATE_INIT 1 #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ -#define CONFIG_SYS_HZ 3686400 /* incrementer freq: 3.6864 MHz */ - -#undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ -#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 CONFIG_NR_DRAM_BANKS 1 /* we have 1 bank of DRAM */ |