summaryrefslogtreecommitdiff
path: root/arch/x86/lib/tsc_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/tsc_timer.c')
-rw-r--r--arch/x86/lib/tsc_timer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/lib/tsc_timer.c b/arch/x86/lib/tsc_timer.c
index d931e5f5e0..c509801f9e 100644
--- a/arch/x86/lib/tsc_timer.c
+++ b/arch/x86/lib/tsc_timer.c
@@ -98,6 +98,10 @@ void __udelay(unsigned long usec)
int timer_init(void)
{
- /* Nothing to do here - the timer needs no init */
+#ifdef CONFIG_SYS_PCAT_TIMER
+ /* Set up the PCAT timer if required */
+ pcat_timer_init();
+#endif
+
return 0;
}