blob: 659e366b4b1380707fad71d41b5a97b31d3e569b [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
Arthur Heymans550f55e2022-08-24 14:44:26 +020016ramstage-y += crashlog.c ioat.c
Jonathan Zhang3ed903f2023-01-25 11:37:27 -080017ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
18ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
Jonathan Zhang3ed903f2023-01-25 11:37:27 -080019CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/spr/include -I$(src)/soc/intel/xeon_sp/spr
20
21endif ## CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP