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 <rizwan.qureshi@intel.com> Reviewed-on: https://review.coreboot.org/16563 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
8448ac47d2
commit
69966ccb5d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue