diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-04-09 16:41:33 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-10 16:03:02 -0400 |
commit | eef6da0326834cc90b9f3b2e80dec71ee8e39e9a (patch) | |
tree | 71988017403378991d72d24b627971927e861d8c /include/configs | |
parent | 54ef1f6774a2ced26789a072249c048201dc8987 (diff) | |
download | u-boot-imx-eef6da0326834cc90b9f3b2e80dec71ee8e39e9a.zip u-boot-imx-eef6da0326834cc90b9f3b2e80dec71ee8e39e9a.tar.gz u-boot-imx-eef6da0326834cc90b9f3b2e80dec71ee8e39e9a.tar.bz2 |
omap5912-osk: Fix get_timer() and CONFIG_SYS_HZ
The function get_timer() should return time in ms and CONFIG_SYS_HZ
should be set to 1000 by default. Fix both of these items.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/omap5912osk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h index 3276a50..c5797a2 100644 --- a/include/configs/omap5912osk.h +++ b/include/configs/omap5912osk.h @@ -134,7 +134,7 @@ */ #define CONFIG_SYS_TIMERBASE 0xFFFEC500 /* use timer 1 */ #define CONFIG_SYS_PTV 7 /* 2^(PTV+1), divide by 256 */ -#define CONFIG_SYS_HZ ((CONFIG_SYS_CLK_FREQ)/(2 << CONFIG_SYS_PTV)) +#define CONFIG_SYS_HZ 1000 /*----------------------------------------------------------------------- * Physical Memory Map |