blob: 2ead6538e547eb9c25ddd588a3fa1b1f9021f890 [file] [log] [blame]
Jonathan Zhang3ed903f2023-01-25 11:37:27 -08001## SPDX-License-Identifier: GPL-2.0-only
2
3ifeq ($(CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP),y)
4
5subdirs-y += ../../../../cpu/intel/turbo
6subdirs-y += ../../../../cpu/x86/lapic
7subdirs-y += ../../../../cpu/x86/mtrr
8subdirs-y += ../../../../cpu/x86/tsc
9subdirs-y += ../../../../cpu/intel/microcode
10
11romstage-y += romstage.c soc_util.c ddr.c
12romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
13romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
14
15ramstage-y += chip.c cpu.c soc_util.c ramstage.c soc_acpi.c xhci.c numa.c reset.c
16ramstage-y += crashlog.c
17ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
18ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
19CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/spr/include -I$(src)/soc/intel/xeon_sp/spr
20
21endif ## CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP