aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-07-23 08:36:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2015-07-23 08:36:01 -0400
commit4ec872aac65d59e0c28252051a7415f28971dd64 (patch)
tree3442e95f4e7696e2238c4f7dbe9011d388a37bee /src/Kconfig
parentbbb3fbac21c7d3839654bf1c352423b424dbaeb3 (diff)
downloadseabios-4ec872aac65d59e0c28252051a7415f28971dd64.tar.gz
timer: Add CONFIG_TSC_TIMER build option to disable the CPU TSC timer
Allow users to remove the CPU timestamp counter support at compile time. The PMTIMER is frequently used instead of the TSC and this compile time option allows one to strip a few bytes from the final binary. This change also defaults the internal timer to use the PIT based timer until the PMTIMER or TSC is detected. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 14c38fb2..b14e5543 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -316,10 +316,16 @@ menu "Hardware support"
help
Initialize the Memory Type Range Registers (on emulators).
config PMTIMER
- bool "Use ACPI timer"
+ bool "Support ACPI timer"
default y
help
- Use the ACPI timer instead of the TSC for timekeeping (on qemu).
+ Detect and use the ACPI timer for timekeeping.
+ config TSC_TIMER
+ bool "Support CPU timestamp counter as timer"
+ default y
+ help
+ Support for using the CPU timestamp counter as an internal
+ timing source.
endmenu
menu "BIOS interfaces"