summaryrefslogtreecommitdiffstats
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, 3 insertions, 3 deletions
diff --git a/arch/x86/lib/tsc_timer.c b/arch/x86/lib/tsc_timer.c
index 0df1af238c..e02b918843 100644
--- a/arch/x86/lib/tsc_timer.c
+++ b/arch/x86/lib/tsc_timer.c
@@ -368,9 +368,9 @@ void __udelay(unsigned long usec)
int timer_init(void)
{
-#ifdef CONFIG_SYS_PCAT_TIMER
- /* Set up the PCAT timer if required */
- pcat_timer_init();
+#ifdef CONFIG_I8254_TIMER
+ /* Set up the i8254 timer if required */
+ i8254_init();
#endif
return 0;
OpenPOWER on IntegriCloud