| ## SPDX-License-Identifier: GPL-2.0-only |
| |
| ifeq ($(CONFIG_SOC_INTEL_COOPERLAKE_SP),y) |
| |
| subdirs-y += ../../../../cpu/intel/turbo |
| subdirs-y += ../../../../cpu/x86/lapic |
| subdirs-y += ../../../../cpu/x86/mtrr |
| subdirs-y += ../../../../cpu/x86/tsc |
| subdirs-y += ../../../../cpu/intel/microcode |
| |
| romstage-y += romstage.c |
| romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
| romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| |
| ramstage-y += chip.c acpi.c cpu.c soc_util.c ramstage.c |
| ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
| |
| CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/cpx/include -I$(src)/soc/intel/xeon_sp/cpx |
| |
| endif ## CONFIG_SOC_INTEL_COOPERLAKE_SP |