summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorHunter, Jon <jon-hunter@ti.com>2013-04-03 09:35:36 +0000
committerTom Rini <trini@ti.com>2013-04-08 11:29:05 -0400
commitd1da76e9f8987529fadaa56d97d29e5d8ab8f918 (patch)
tree8aa0a50f8c2248eef4ec99d82baa608a50e8e102 /include/configs
parentfaad9c02562653a16a2a5ad76b841b2306e531ec (diff)
downloadblackbird-obmc-uboot-d1da76e9f8987529fadaa56d97d29e5d8ab8f918.tar.gz
blackbird-obmc-uboot-d1da76e9f8987529fadaa56d97d29e5d8ab8f918.zip
omap2420-h4: 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/omap2420h4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h
index e144ae9d28..04e8d3ad51 100644
--- a/include/configs/omap2420h4.h
+++ b/include/configs/omap2420h4.h
@@ -190,7 +190,7 @@
#define CONFIG_SYS_TIMERBASE OMAP2420_GPT2
#define CONFIG_SYS_PTV V_PTV /* 2^(PTV+1) */
-#define CONFIG_SYS_HZ ((CONFIG_SYS_CLK_FREQ)/(2 << CONFIG_SYS_PTV))
+#define CONFIG_SYS_HZ 1000
/*-----------------------------------------------------------------------
* Physical Memory Map
OpenPOWER on IntegriCloud