mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-05 22:46:18 +08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user