aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/Kconfig
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-04-29 22:22:55 -0500
committerRonald G. Minnich <rminnich@gmail.com>2013-05-01 07:15:55 +0200
commite850164bac08a5b3b4cd09f587775e68ad1b40c2 (patch)
tree2e9ab9f1b1a7e878cdcfea71ad8c69269d8dfe0e /src/cpu/x86/Kconfig
parentfd8291c9d438917e334f4211fb1142b6a7bb7e32 (diff)
tsc: provide monotonic timer
Implement the timer_monotonic_get() using the TSC. Change-Id: I5118da6fb9bccc75d2ce012317612e0ab20a2cac Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/3155 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/x86/Kconfig')
-rw-r--r--src/cpu/x86/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index 6b70ae7c6c..5cf40fa4a9 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -25,6 +25,13 @@ config UDELAY_TSC
bool
default n
+config TSC_MONOTONIC_TIMER
+ def_bool n
+ depends on UDELAY_TSC
+ select HAVE_MONOTONIC_TIMER
+ help
+ Expose monotonic time using the TSC.
+
config UDELAY_TIMER2
bool
default n