aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/cpu/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/cpu/Kconfig')
-rw-r--r--src/soc/amd/common/block/cpu/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/cpu/Kconfig b/src/soc/amd/common/block/cpu/Kconfig
index 826f80bdb5..c155975590 100644
--- a/src/soc/amd/common/block/cpu/Kconfig
+++ b/src/soc/amd/common/block/cpu/Kconfig
@@ -27,3 +27,14 @@ config MEMLAYOUT_LD_FILE
default "src/soc/amd/common/block/cpu/noncar/memlayout.ld"
endif # SOC_AMD_COMMON_BLOCK_NONCAR
+
+config SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H
+ bool
+ select COLLECT_TIMESTAMPS_NO_TSC # selected use SoC-specific timestamp function
+ select TSC_SYNC_LFENCE
+ select UDELAY_TSC
+ default n
+ help
+ Select this option to add the common functions for getting the TSC
+ frequency of AMD family 17h and 19h CPUs/APUs and to provide TSC-
+ based monotonic timer functionality to the build.