summaryrefslogtreecommitdiff
path: root/src/cpu/intel/haswell/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/haswell/Makefile.mk')
-rw-r--r--src/cpu/intel/haswell/Makefile.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/cpu/intel/haswell/Makefile.mk b/src/cpu/intel/haswell/Makefile.mk
new file mode 100644
index 0000000000..7323ed97f0
--- /dev/null
+++ b/src/cpu/intel/haswell/Makefile.mk
@@ -0,0 +1,37 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ramstage-y += haswell_init.c
+
+romstage-y += romstage.c
+romstage-y += ../car/romstage.c
+
+ramstage-y += acpi.c
+ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c
+
+smm-y += finalize.c
+
+bootblock-y += ../car/non-evict/cache_as_ram.S
+bootblock-y += ../car/bootblock.c
+bootblock-y += ../../x86/early_reset.S
+bootblock-y += bootblock.c
+
+postcar-y += ../car/non-evict/exit_car.S
+
+subdirs-y += ../microcode
+subdirs-y += ../turbo
+
+ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y)
+# Haswell ULT/ULX
+cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-45-*)
+ifeq ($(CONFIG_SOC_INTEL_BROADWELL),y)
+# Broadwell ULT/ULX
+cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-3d-*)
+endif
+else
+# Haswell Trad
+cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-3c-*)
+# Crystal Well (Trad)
+cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-46-*)
+# Broadwell Trad
+cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-47-*)
+endif