soc/amd: factor out common family 17h&19h TSC and monotonic timer code
The corresponding MSRs of all AMD family 17h and 19h CPUs/APUs match the code. Change-Id: I29cfef5d8920c29e36c55fc46a90eb579a042b64 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48305 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
@@ -24,10 +24,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||
select IOAPIC
|
||||
select HAVE_EM100_SUPPORT
|
||||
select HAVE_USBDEBUG_OPTIONS
|
||||
select COLLECT_TIMESTAMPS_NO_TSC
|
||||
select SOC_AMD_COMMON_BLOCK_SPI
|
||||
select TSC_SYNC_LFENCE
|
||||
select UDELAY_TSC
|
||||
select SOC_AMD_COMMON
|
||||
select SOC_AMD_COMMON_BLOCK_NONCAR
|
||||
select SOC_AMD_COMMON_BLOCK_HAS_ESPI
|
||||
@@ -44,6 +41,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||
select SOC_AMD_COMMON_BLOCK_SMBUS
|
||||
select SOC_AMD_COMMON_BLOCK_SMI
|
||||
select SOC_AMD_COMMON_BLOCK_SMU
|
||||
select SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H
|
||||
select SOC_AMD_COMMON_BLOCK_PSP_GEN2
|
||||
select PROVIDES_ROM_SHARING
|
||||
select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH
|
||||
|
Reference in New Issue
Block a user