aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/tsc/Config.lb
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/tsc/Config.lb')
-rw-r--r--src/cpu/x86/tsc/Config.lb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cpu/x86/tsc/Config.lb b/src/cpu/x86/tsc/Config.lb
index 07272ad9d7..72905eb5bb 100644
--- a/src/cpu/x86/tsc/Config.lb
+++ b/src/cpu/x86/tsc/Config.lb
@@ -1,5 +1,9 @@
uses CONFIG_UDELAY_TSC
uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+uses HAVE_INIT_TIMER
default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=0
-if CONFIG_UDELAY_TSC object delay_tsc.o end
+if CONFIG_UDELAY_TSC
+ default HAVE_INIT_TIMER=1
+ object delay_tsc.o
+end