blob: 745e032137659e40cd8371fcfddb0af9580844e7 [file] [log] [blame]
Andrey Petrov2e410752020-03-20 12:08:32 -07001## SPDX-License-Identifier: GPL-2.0-only
Andrey Petrov2e410752020-03-20 12:08:32 -07002
3ifeq ($(CONFIG_SOC_INTEL_COOPERLAKE_SP),y)
4
Jonathan Zhangb7cf7d32020-04-02 20:03:48 -07005subdirs-y += ../../../../cpu/intel/turbo
Andrey Petrov8670e822020-03-30 12:25:06 -07006subdirs-y += ../../../../cpu/intel/microcode
Andrey Petrov2e410752020-03-20 12:08:32 -07007
Jonathan Zhangca520a72023-01-23 18:14:53 -08008romstage-y += romstage.c ddr.c soc_util.c
Jonathan Zhanged624c72020-05-12 15:58:45 -07009romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
Jonathan Zhang29f61a22020-06-26 14:42:11 -070010romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
Jonathan Zhanged624c72020-05-12 15:58:45 -070011
Dinesh Gehlotd4f2d142022-12-16 09:21:18 +000012ramstage-y += chip.c cpu.c soc_util.c soc_acpi.c
Jonathan Zhang29f61a22020-06-26 14:42:11 -070013ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
Jonathan Zhanged624c72020-05-12 15:58:45 -070014ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
Tim Chu3ba16212022-12-14 11:27:52 +000015smm-$(CONFIG_HAVE_SMI_HANDLER) += soc_smihandler_util.c
Andrey Petrov2e410752020-03-20 12:08:32 -070016
17CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/cpx/include -I$(src)/soc/intel/xeon_sp/cpx
Arthur Heymansffa61b02021-09-07 14:16:50 +020018CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/cooperlake_sp
Andrey Petrov2e410752020-03-20 12:08:32 -070019
Arthur Heymansc2d0a492021-09-07 11:23:40 +020020cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-55-0b
21
Andrey Petrov2e410752020-03-20 12:08:32 -070022endif ## CONFIG_SOC_INTEL_COOPERLAKE_SP