summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/Kconfig
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-06-16 10:10:17 -0600
committerMartin Roth <martinroth@google.com>2017-06-29 14:49:55 +0000
commit786bd5d29371745bb731e92be0e73e261baf125e (patch)
tree2f3418f49c8aecc306ba9c13f8cc80f15a8c49c2 /src/soc/amd/stoneyridge/Kconfig
parentd16022bdd470a8aedbb0ba5c5c2646a040ff1a9a (diff)
downloadcoreboot-786bd5d29371745bb731e92be0e73e261baf125e.tar.xz
soc/amd/stoneyridge: Convert monotonic timer
Use the TSC for the Stoney Ridge monotonic timer. Modern AMD CPUs have invariant timestamp counters. This patch brings the feature more in line with other devices and allows the use of typical monotonic timer functions. BUG=chrome-os-partner:62578062 Change-Id: I07b05fbc7cdea54a45daac01954284a9fd67e42f Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/20201 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/Kconfig')
-rw-r--r--src/soc/amd/stoneyridge/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig
index 6584fbb713..b431642fbe 100644
--- a/src/soc/amd/stoneyridge/Kconfig
+++ b/src/soc/amd/stoneyridge/Kconfig
@@ -34,12 +34,14 @@ config CPU_SPECIFIC_OPTIONS
select IOAPIC
select HAVE_USBDEBUG_OPTIONS
select HAVE_HARD_RESET
- select LAPIC_MONOTONIC_TIMER
+ select UDELAY_TSC
+ select HAVE_MONOTONIC_TIMER
+ select TSC_MONOTONIC_TIMER
+ select TSC_CONSTANT_RATE
select SPI_FLASH if HAVE_ACPI_RESUME
select TSC_SYNC_LFENCE
select SOC_AMD_COMMON
select SOC_AMD_PI
- select UDELAY_LAPIC
config UDELAY_LAPIC_FIXED_FSB
int