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>
This commit is contained in:
committed by
Martin Roth
parent
d16022bdd4
commit
786bd5d293
@@ -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
|
||||
|
Reference in New Issue
Block a user