1# SPDX-License-Identifier: GPL-2.0-only 2 3ifeq ($(CONFIG_PLATFORM_USES_FSP1_1),y) 4 5bootblock-$(CONFIG_USE_GENERIC_FSP_CAR_INC) += cache_as_ram.S 6bootblock-y += fsp_util.c 7bootblock-y += ../../../cpu/intel/microcode/microcode_asm.S 8bootblock-y += fsp_report.c 9 10romstage-y += car.c 11romstage-y += fsp_util.c 12romstage-y += hob.c 13romstage-y += raminit.c 14romstage-y += romstage.c 15 16ramstage-y += fsp_relocate.c 17ramstage-y += fsp_util.c 18ramstage-y += hob.c 19ramstage-y += ramstage.c 20ramstage-$(CONFIG_INTEL_GMA_ADD_VBT) += vbt.c 21 22CPPFLAGS_common += -Isrc/drivers/intel/fsp1_1/include 23 24ifneq ($(CONFIG_SKIP_FSP_CAR),y) 25postcar-y += temp_ram_exit.c 26postcar-y += exit_car.S 27endif 28postcar-y += fsp_util.c 29 30# Add the FSP binary to the cbfs image 31ifeq ($(CONFIG_HAVE_FSP_BIN),y) 32cbfs-files-y += fsp.bin 33fsp.bin-file := $(call strip_quotes,$(CONFIG_FSP_FILE)) 34fsp.bin-type := fsp 35fsp.bin-options := --xip $(TXTIBB) 36fsp.bin-COREBOOT-position := $(CONFIG_FSP_LOC) 37endif 38 39# Add logo to the cbfs image 40cbfs-files-$(CONFIG_BMP_LOGO) += logo.bmp 41logo.bmp-file := $(call strip_quotes,$(CONFIG_FSP1_1_LOGO_FILE_NAME)) 42logo.bmp-type := raw 43logo.bmp-compression := LZMA 44 45endif 46