blob: 6176023223a0a308adf9eca3688b3b7ffbe3ca9a [file] [log] [blame]
Martin Roth9231f0b2022-10-28 22:39:23 -06001## SPDX-License-Identifier: GPL-2.0-only
Felix Helda63f8592023-03-24 16:30:55 +01002
3bootblock-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H) += cpufreq_17_19.c
4bootblock-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM1AH) += cpufreq_1a.c
5
6verstage_x86-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H) += cpufreq_17_19.c
7verstage_x86-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM1AH) += cpufreq_1a.c
8
9romstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H) += cpufreq_17_19.c
10romstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM1AH) += cpufreq_1a.c
11
12ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H) += cpufreq_17_19.c
13ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM1AH) += cpufreq_1a.c
14
15smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H) += cpufreq_17_19.c
16smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM1AH) += cpufreq_1a.c
17
Felix Held2f5c7592020-12-04 17:31:10 +010018ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H),y)
19
Felix Held2f5c7592020-12-04 17:31:10 +010020bootblock-y += tsc_freq.c
21bootblock-y += monotonic_timer.c
22
23verstage_x86-y += tsc_freq.c
24verstage_x86-y += monotonic_timer.c
25
26romstage-y += tsc_freq.c
27romstage-y += monotonic_timer.c
28
29ramstage-y += tsc_freq.c
30ramstage-y += monotonic_timer.c
31
32smm-y += tsc_freq.c
33smm-y += monotonic_timer.c
34
35endif # CONFIG_SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H