From af880447028ae532428224097ca171a3e729afd4 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 13:18:47 -0700 Subject: driver/intel to /driver/ocp: Rename Makefiles from .inc to .mk The .inc suffix is confusing to various tools as it's not specific to Makefiles. This means that editors don't recognize the files, and don't open them with highlighting and any other specific editor functionality. This issue is also seen in the release notes generation script where Makefiles get renamed before running cloc. Signed-off-by: Martin Roth Change-Id: Id47a5ef3c53f767d1e03c788e0022d05b21f5c28 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80079 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Maximilian Brune --- src/drivers/intel/fsp2_0/Makefile.inc | 179 ------------------------------ src/drivers/intel/fsp2_0/Makefile.mk | 179 ++++++++++++++++++++++++++++++ src/drivers/intel/fsp2_0/ppi/Makefile.inc | 6 - src/drivers/intel/fsp2_0/ppi/Makefile.mk | 6 + 4 files changed, 185 insertions(+), 185 deletions(-) delete mode 100644 src/drivers/intel/fsp2_0/Makefile.inc create mode 100644 src/drivers/intel/fsp2_0/Makefile.mk delete mode 100644 src/drivers/intel/fsp2_0/ppi/Makefile.inc create mode 100644 src/drivers/intel/fsp2_0/ppi/Makefile.mk (limited to 'src/drivers/intel/fsp2_0') diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc deleted file mode 100644 index 4cb24ffb56..0000000000 --- a/src/drivers/intel/fsp2_0/Makefile.inc +++ /dev/null @@ -1,179 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) - -bootblock-$(CONFIG_FSP_CAR) += fspt_report.c - -romstage-y += debug.c -romstage-$(CONFIG_FSP_USES_CB_DEBUG_EVENT_HANDLER) += fsp_debug_event.c -romstage-y += hand_off_block.c -romstage-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c -romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c -romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c -romstage-$(CONFIG_VERIFY_HOBS) += hob_verify.c -romstage-y += util.c -romstage-y += memory_init.c -romstage-$(CONFIG_MMA) += mma_core.c -romstage-y += cbmem.c -romstage-$(CONFIG_ENABLE_FSP_ERROR_INFO) += fsp_error_info_hob.c -romstage-$(CONFIG_CACHE_MRC_SETTINGS) += save_mrc_data.c - -ramstage-y += debug.c -ramstage-$(CONFIG_FSP_USES_CB_DEBUG_EVENT_HANDLER) += fsp_debug_event.c -ramstage-$(CONFIG_USE_INTEL_FSP_MP_INIT) += fsp_mpinit.c -ramstage-$(CONFIG_DISPLAY_FSP_TIMESTAMPS) += fsp_timestamp.c -ramstage-$(CONFIG_RUN_FSP_GOP) += graphics.c -ramstage-y += hand_off_block.c -ramstage-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c -ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c -ramstage-$(CONFIG_VERIFY_HOBS) += hob_verify.c -ramstage-y += notify.c -ramstage-y += silicon_init.c -ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c -ramstage-y += util.c -ramstage-$(CONFIG_FSP_NVS_DATA_POST_SILICON_INIT) += save_mrc_data.c -ramstage-$(CONFIG_MMA) += mma_core.c -ramstage-$(CONFIG_ENABLE_FSP_ERROR_INFO) += fsp_error_info_hob.c -ramstage-$(CONFIG_BMP_LOGO) += fsp_gop_blt.c - -ifneq ($(CONFIG_NO_FSP_TEMP_RAM_EXIT),y) -postcar-$(CONFIG_FSP_CAR) += temp_ram_exit.c -endif -postcar-$(CONFIG_FSP_CAR) += util.c -postcar-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c -postcar-y += hand_off_block.c - -CPPFLAGS_common += -I$(src)/drivers/intel/fsp2_0/include - -FSP_T_CBFS = $(call strip_quotes,$(CONFIG_FSP_T_CBFS)) -FSP_M_CBFS = $(call strip_quotes,$(CONFIG_FSP_M_CBFS)) -FSP_M_CBFS_2 = $(call strip_quotes,$(CONFIG_FSP_M_CBFS_2)) -FSP_S_CBFS = $(call strip_quotes,$(CONFIG_FSP_S_CBFS)) -FSP_S_CBFS_2 = $(call strip_quotes,$(CONFIG_FSP_S_CBFS_2)) - -# Add FSP blobs into cbfs. SoC code may supply additional options with -# -options, e.g --xip or -b -ifeq ($(CONFIG_ADD_FSP_BINARIES)$(CONFIG_FSP_CAR),yy) -cbfs-files-y += $(FSP_T_CBFS) -$(FSP_T_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_T_FILE)) -$(FSP_T_CBFS)-type := fsp -ifeq ($(CONFIG_FSP_T_XIP),y) -$(FSP_T_CBFS)-options := --xip $(TXTIBB) -$(FSP_T_CBFS)-position = $(CONFIG_FSP_T_LOCATION) -endif # CONFIG_FSP_T_XIP -endif # CONFIG_ADD_FSP_BINARIES && CONFIG_FSP_CAR - -cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(FSP_M_CBFS) -ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP)$(CONFIG_ADD_FSP_BINARIES),yy) -cbfs-files-y += $(FSP_M_CBFS_2) -endif -$(FSP_M_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_M_FILE)) -$(FSP_M_CBFS_2)-file := $(call strip_quotes,$(CONFIG_FSP_M_FILE_2)) -$(FSP_M_CBFS)-type := fsp -$(FSP_M_CBFS_2)-type := fsp -ifeq ($(CONFIG_FSP_M_XIP),y) -$(FSP_M_CBFS)-options := --xip $(TXTIBB) -$(FSP_M_CBFS_2)-options := --xip $(TXTIBB) -endif -ifeq ($(CONFIG_FSP_COMPRESS_FSP_M_LZMA),y) -$(FSP_M_CBFS)-compression := LZMA -$(FSP_M_CBFS_2)-compression := LZMA -else ifeq ($(CONFIG_FSP_COMPRESS_FSP_M_LZ4),y) -$(FSP_M_CBFS)-compression := LZ4 -$(FSP_M_CBFS_2)-compression := LZ4 -endif -ifneq ($(CONFIG_FSP_ALIGNMENT_FSP_M),) -$(FSP_M_CBFS)-align := $(CONFIG_FSP_ALIGNMENT_FSP_M) -$(FSP_M_CBFS_2)-align := $(CONFIG_FSP_ALIGNMENT_FSP_M) -endif - -cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(FSP_S_CBFS) -ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP)$(CONFIG_ADD_FSP_BINARIES),yy) -cbfs-files-y += $(FSP_S_CBFS_2) -endif -$(FSP_S_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_S_FILE)) -$(FSP_S_CBFS_2)-file := $(call strip_quotes,$(CONFIG_FSP_S_FILE_2)) -$(FSP_S_CBFS)-type := fsp -$(FSP_S_CBFS_2)-type := fsp -ifeq ($(CONFIG_FSP_COMPRESS_FSP_S_LZMA),y) -$(FSP_S_CBFS)-compression := LZMA -$(FSP_S_CBFS_2)-compression := LZMA -else ifeq ($(CONFIG_FSP_COMPRESS_FSP_S_LZ4),y) -$(FSP_S_CBFS)-compression := LZ4 -$(FSP_S_CBFS_2)-compression := LZ4 -endif -ifneq ($(CONFIG_FSP_ALIGNMENT_FSP_S),) -$(FSP_S_CBFS)-align := $(CONFIG_FSP_ALIGNMENT_FSP_S) -$(FSP_S_CBFS_2)-align := $(CONFIG_FSP_ALIGNMENT_FSP_S) -endif - -ifeq ($(CONFIG_FSP_FULL_FD),y) -$(obj)/Fsp_M.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(DOTCONFIG) - python 3rdparty/fsp/Tools/SplitFspBin.py split -f $(CONFIG_FSP_FD_PATH) -o "$(obj)" -n "Fsp.fd" - -$(obj)/Fsp_S.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(obj)/Fsp_M.fd - true - -$(obj)/Fsp_T.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(obj)/Fsp_M.fd - true -endif - -ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP)$(CONFIG_FSP_FULL_FD),yy) -$(obj)/Fsp_2_M.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH_2)) $(DOTCONFIG) - python 3rdparty/fsp/Tools/SplitFspBin.py split -f $(CONFIG_FSP_FD_PATH_2) -o "$(obj)" -n "Fsp_2.fd" - -$(obj)/Fsp_2_S.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH_2)) $(obj)/Fsp_M.fd - true -endif - -# Add logo to the cbfs image -ifneq ($(CONFIG_HAVE_CUSTOM_BMP_LOGO),y) -cbfs-files-$(CONFIG_BMP_LOGO) += logo.bmp -logo.bmp-file := $(call strip_quotes,$(CONFIG_FSP2_0_LOGO_FILE_NAME)) -logo.bmp-type := raw -ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZMA),y) -logo.bmp-compression := LZMA -else ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZ4),y) -logo.bmp-compression := LZ4 -endif -endif - -ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),) -CPPFLAGS_common+=-I$(CONFIG_FSP_HEADER_PATH) -endif - -# check if the FSP files that are supposed to be added are specified -ifeq ($(CONFIG_ADD_FSP_BINARIES),y) -ifeq ($(CONFIG_FSP_CAR),y) -ifeq ($(call strip_quotes,$(CONFIG_FSP_T_FILE)),) -$(error No FSP-T binary file specified.) -endif # CONFIG_FSP_T_FILE -endif # CONFIG_FSP_CAR -ifeq ($(call strip_quotes,$(CONFIG_FSP_M_FILE)),) -$(error No FSP-M binary file specified.) -endif # CONFIG_FSP_M_FILE -ifeq ($(call strip_quotes,$(CONFIG_FSP_S_FILE)),) -$(error No FSP-S binary file specified.) -endif # CONFIG_FSP_S_FILE -ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP),y) -ifeq ($(call strip_quotes,$(CONFIG_FSP_M_FILE_2)),) -$(error No second FSP-M binary file specified.) -endif # CONFIG_FSP_M_FILE_2 -ifeq ($(call strip_quotes,$(CONFIG_FSP_S_FILE_2)),) -$(error No second FSP-S binary file specified.) -endif # CONFIG_FSP_S_FILE_2 -endif # CONFIG_PLATFORM_USES_SECOND_FSP -else # CONFIG_ADD_FSP_BINARIES -show_notices:: warn_no_fsp_binaries -endif # CONFIG_ADD_FSP_BINARIES - -PHONY+=warn_no_fsp_binaries -warn_no_fsp_binaries: - printf "\n\t** WARNING **\n" - printf "ADD_FSP_BINARIES isn't selected even though this SoC relies on the FSP.\n" - printf "The resulting image won't contain the FSP binaries and will not boot unless\n" - printf "they are added later.\n" - -subdirs-y += ppi - -endif diff --git a/src/drivers/intel/fsp2_0/Makefile.mk b/src/drivers/intel/fsp2_0/Makefile.mk new file mode 100644 index 0000000000..4cb24ffb56 --- /dev/null +++ b/src/drivers/intel/fsp2_0/Makefile.mk @@ -0,0 +1,179 @@ +# SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) + +bootblock-$(CONFIG_FSP_CAR) += fspt_report.c + +romstage-y += debug.c +romstage-$(CONFIG_FSP_USES_CB_DEBUG_EVENT_HANDLER) += fsp_debug_event.c +romstage-y += hand_off_block.c +romstage-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c +romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c +romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c +romstage-$(CONFIG_VERIFY_HOBS) += hob_verify.c +romstage-y += util.c +romstage-y += memory_init.c +romstage-$(CONFIG_MMA) += mma_core.c +romstage-y += cbmem.c +romstage-$(CONFIG_ENABLE_FSP_ERROR_INFO) += fsp_error_info_hob.c +romstage-$(CONFIG_CACHE_MRC_SETTINGS) += save_mrc_data.c + +ramstage-y += debug.c +ramstage-$(CONFIG_FSP_USES_CB_DEBUG_EVENT_HANDLER) += fsp_debug_event.c +ramstage-$(CONFIG_USE_INTEL_FSP_MP_INIT) += fsp_mpinit.c +ramstage-$(CONFIG_DISPLAY_FSP_TIMESTAMPS) += fsp_timestamp.c +ramstage-$(CONFIG_RUN_FSP_GOP) += graphics.c +ramstage-y += hand_off_block.c +ramstage-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c +ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c +ramstage-$(CONFIG_VERIFY_HOBS) += hob_verify.c +ramstage-y += notify.c +ramstage-y += silicon_init.c +ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c +ramstage-y += util.c +ramstage-$(CONFIG_FSP_NVS_DATA_POST_SILICON_INIT) += save_mrc_data.c +ramstage-$(CONFIG_MMA) += mma_core.c +ramstage-$(CONFIG_ENABLE_FSP_ERROR_INFO) += fsp_error_info_hob.c +ramstage-$(CONFIG_BMP_LOGO) += fsp_gop_blt.c + +ifneq ($(CONFIG_NO_FSP_TEMP_RAM_EXIT),y) +postcar-$(CONFIG_FSP_CAR) += temp_ram_exit.c +endif +postcar-$(CONFIG_FSP_CAR) += util.c +postcar-$(CONFIG_DISPLAY_FSP_HEADER) += header_display.c +postcar-y += hand_off_block.c + +CPPFLAGS_common += -I$(src)/drivers/intel/fsp2_0/include + +FSP_T_CBFS = $(call strip_quotes,$(CONFIG_FSP_T_CBFS)) +FSP_M_CBFS = $(call strip_quotes,$(CONFIG_FSP_M_CBFS)) +FSP_M_CBFS_2 = $(call strip_quotes,$(CONFIG_FSP_M_CBFS_2)) +FSP_S_CBFS = $(call strip_quotes,$(CONFIG_FSP_S_CBFS)) +FSP_S_CBFS_2 = $(call strip_quotes,$(CONFIG_FSP_S_CBFS_2)) + +# Add FSP blobs into cbfs. SoC code may supply additional options with +# -options, e.g --xip or -b +ifeq ($(CONFIG_ADD_FSP_BINARIES)$(CONFIG_FSP_CAR),yy) +cbfs-files-y += $(FSP_T_CBFS) +$(FSP_T_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_T_FILE)) +$(FSP_T_CBFS)-type := fsp +ifeq ($(CONFIG_FSP_T_XIP),y) +$(FSP_T_CBFS)-options := --xip $(TXTIBB) +$(FSP_T_CBFS)-position = $(CONFIG_FSP_T_LOCATION) +endif # CONFIG_FSP_T_XIP +endif # CONFIG_ADD_FSP_BINARIES && CONFIG_FSP_CAR + +cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(FSP_M_CBFS) +ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP)$(CONFIG_ADD_FSP_BINARIES),yy) +cbfs-files-y += $(FSP_M_CBFS_2) +endif +$(FSP_M_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_M_FILE)) +$(FSP_M_CBFS_2)-file := $(call strip_quotes,$(CONFIG_FSP_M_FILE_2)) +$(FSP_M_CBFS)-type := fsp +$(FSP_M_CBFS_2)-type := fsp +ifeq ($(CONFIG_FSP_M_XIP),y) +$(FSP_M_CBFS)-options := --xip $(TXTIBB) +$(FSP_M_CBFS_2)-options := --xip $(TXTIBB) +endif +ifeq ($(CONFIG_FSP_COMPRESS_FSP_M_LZMA),y) +$(FSP_M_CBFS)-compression := LZMA +$(FSP_M_CBFS_2)-compression := LZMA +else ifeq ($(CONFIG_FSP_COMPRESS_FSP_M_LZ4),y) +$(FSP_M_CBFS)-compression := LZ4 +$(FSP_M_CBFS_2)-compression := LZ4 +endif +ifneq ($(CONFIG_FSP_ALIGNMENT_FSP_M),) +$(FSP_M_CBFS)-align := $(CONFIG_FSP_ALIGNMENT_FSP_M) +$(FSP_M_CBFS_2)-align := $(CONFIG_FSP_ALIGNMENT_FSP_M) +endif + +cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(FSP_S_CBFS) +ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP)$(CONFIG_ADD_FSP_BINARIES),yy) +cbfs-files-y += $(FSP_S_CBFS_2) +endif +$(FSP_S_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_S_FILE)) +$(FSP_S_CBFS_2)-file := $(call strip_quotes,$(CONFIG_FSP_S_FILE_2)) +$(FSP_S_CBFS)-type := fsp +$(FSP_S_CBFS_2)-type := fsp +ifeq ($(CONFIG_FSP_COMPRESS_FSP_S_LZMA),y) +$(FSP_S_CBFS)-compression := LZMA +$(FSP_S_CBFS_2)-compression := LZMA +else ifeq ($(CONFIG_FSP_COMPRESS_FSP_S_LZ4),y) +$(FSP_S_CBFS)-compression := LZ4 +$(FSP_S_CBFS_2)-compression := LZ4 +endif +ifneq ($(CONFIG_FSP_ALIGNMENT_FSP_S),) +$(FSP_S_CBFS)-align := $(CONFIG_FSP_ALIGNMENT_FSP_S) +$(FSP_S_CBFS_2)-align := $(CONFIG_FSP_ALIGNMENT_FSP_S) +endif + +ifeq ($(CONFIG_FSP_FULL_FD),y) +$(obj)/Fsp_M.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(DOTCONFIG) + python 3rdparty/fsp/Tools/SplitFspBin.py split -f $(CONFIG_FSP_FD_PATH) -o "$(obj)" -n "Fsp.fd" + +$(obj)/Fsp_S.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(obj)/Fsp_M.fd + true + +$(obj)/Fsp_T.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(obj)/Fsp_M.fd + true +endif + +ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP)$(CONFIG_FSP_FULL_FD),yy) +$(obj)/Fsp_2_M.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH_2)) $(DOTCONFIG) + python 3rdparty/fsp/Tools/SplitFspBin.py split -f $(CONFIG_FSP_FD_PATH_2) -o "$(obj)" -n "Fsp_2.fd" + +$(obj)/Fsp_2_S.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH_2)) $(obj)/Fsp_M.fd + true +endif + +# Add logo to the cbfs image +ifneq ($(CONFIG_HAVE_CUSTOM_BMP_LOGO),y) +cbfs-files-$(CONFIG_BMP_LOGO) += logo.bmp +logo.bmp-file := $(call strip_quotes,$(CONFIG_FSP2_0_LOGO_FILE_NAME)) +logo.bmp-type := raw +ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZMA),y) +logo.bmp-compression := LZMA +else ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZ4),y) +logo.bmp-compression := LZ4 +endif +endif + +ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),) +CPPFLAGS_common+=-I$(CONFIG_FSP_HEADER_PATH) +endif + +# check if the FSP files that are supposed to be added are specified +ifeq ($(CONFIG_ADD_FSP_BINARIES),y) +ifeq ($(CONFIG_FSP_CAR),y) +ifeq ($(call strip_quotes,$(CONFIG_FSP_T_FILE)),) +$(error No FSP-T binary file specified.) +endif # CONFIG_FSP_T_FILE +endif # CONFIG_FSP_CAR +ifeq ($(call strip_quotes,$(CONFIG_FSP_M_FILE)),) +$(error No FSP-M binary file specified.) +endif # CONFIG_FSP_M_FILE +ifeq ($(call strip_quotes,$(CONFIG_FSP_S_FILE)),) +$(error No FSP-S binary file specified.) +endif # CONFIG_FSP_S_FILE +ifeq ($(CONFIG_PLATFORM_USES_SECOND_FSP),y) +ifeq ($(call strip_quotes,$(CONFIG_FSP_M_FILE_2)),) +$(error No second FSP-M binary file specified.) +endif # CONFIG_FSP_M_FILE_2 +ifeq ($(call strip_quotes,$(CONFIG_FSP_S_FILE_2)),) +$(error No second FSP-S binary file specified.) +endif # CONFIG_FSP_S_FILE_2 +endif # CONFIG_PLATFORM_USES_SECOND_FSP +else # CONFIG_ADD_FSP_BINARIES +show_notices:: warn_no_fsp_binaries +endif # CONFIG_ADD_FSP_BINARIES + +PHONY+=warn_no_fsp_binaries +warn_no_fsp_binaries: + printf "\n\t** WARNING **\n" + printf "ADD_FSP_BINARIES isn't selected even though this SoC relies on the FSP.\n" + printf "The resulting image won't contain the FSP binaries and will not boot unless\n" + printf "they are added later.\n" + +subdirs-y += ppi + +endif diff --git a/src/drivers/intel/fsp2_0/ppi/Makefile.inc b/src/drivers/intel/fsp2_0/ppi/Makefile.inc deleted file mode 100644 index 823718bf28..0000000000 --- a/src/drivers/intel/fsp2_0/ppi/Makefile.inc +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_MP_SERVICES_PPI) += mp_service_ppi.c -ramstage-$(CONFIG_MP_SERVICES_PPI_V1) += mp_service1.c -ramstage-$(CONFIG_MP_SERVICES_PPI_V2) += mp_service2.c -ramstage-$(CONFIG_MP_SERVICES_PPI_V2_NOOP) += mp_service2_noop.c diff --git a/src/drivers/intel/fsp2_0/ppi/Makefile.mk b/src/drivers/intel/fsp2_0/ppi/Makefile.mk new file mode 100644 index 0000000000..823718bf28 --- /dev/null +++ b/src/drivers/intel/fsp2_0/ppi/Makefile.mk @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_MP_SERVICES_PPI) += mp_service_ppi.c +ramstage-$(CONFIG_MP_SERVICES_PPI_V1) += mp_service1.c +ramstage-$(CONFIG_MP_SERVICES_PPI_V2) += mp_service2.c +ramstage-$(CONFIG_MP_SERVICES_PPI_V2_NOOP) += mp_service2_noop.c -- cgit v1.2.3