summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/cpx/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx/Makefile.mk')
-rw-r--r--src/soc/intel/xeon_sp/cpx/Makefile.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/Makefile.mk b/src/soc/intel/xeon_sp/cpx/Makefile.mk
new file mode 100644
index 0000000000..745e032137
--- /dev/null
+++ b/src/soc/intel/xeon_sp/cpx/Makefile.mk
@@ -0,0 +1,22 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ifeq ($(CONFIG_SOC_INTEL_COOPERLAKE_SP),y)
+
+subdirs-y += ../../../../cpu/intel/turbo
+subdirs-y += ../../../../cpu/intel/microcode
+
+romstage-y += romstage.c ddr.c soc_util.c
+romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
+romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
+
+ramstage-y += chip.c cpu.c soc_util.c soc_acpi.c
+ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
+ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += soc_smihandler_util.c
+
+CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/cpx/include -I$(src)/soc/intel/xeon_sp/cpx
+CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/cooperlake_sp
+
+cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-55-0b
+
+endif ## CONFIG_SOC_INTEL_COOPERLAKE_SP