From 69966ccb5de0addda131f313b20515bfa0cb00c8 Mon Sep 17 00:00:00 2001 From: Rizwan Qureshi Date: Fri, 9 Sep 2016 12:16:11 +0530 Subject: driver/intel/fsp2_0: Make FSP-M binary XIP If FSP_M_XIP is selected, then relocate FSP-M binary while adding it in CBFS so that it can be executed in place. Change-Id: I2579e8a9be06cfe8cc162337fb1064d15842229f Signed-off-by: Rizwan Qureshi Reviewed-on: https://review.coreboot.org/16563 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/intel/fsp2_0/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc index 79b57f60a6..3986fe68d1 100644 --- a/src/drivers/intel/fsp2_0/Makefile.inc +++ b/src/drivers/intel/fsp2_0/Makefile.inc @@ -44,6 +44,9 @@ CPPFLAGS_common += -I$(src)/drivers/intel/fsp2_0/include cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(CONFIG_FSP_M_CBFS) $(CONFIG_FSP_M_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_M_FILE)) $(CONFIG_FSP_M_CBFS)-type := fsp +ifeq ($(CONFIG_FSP_M_XIP),y) +$(CONFIG_FSP_M_CBFS)-options := --xip +endif cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(CONFIG_FSP_S_CBFS) $(CONFIG_FSP_S_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_S_FILE)) -- cgit v1.2.3