soc/intel/common/block: Stitch CSE blobs into FW_MAIN_X partitions
Add Kconfig option for CSE me_rw blob path and stitch the me_rw blob into FW_MAIN_X partitions. BUG=b:145796136 Change-Id: I1d2908e9e16858c5f333e1b10b19d18b7ca27765 Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35406 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
77025b3f56
commit
b2353a7bdc
|
@ -31,3 +31,9 @@ config SOC_INTEL_CSE_RW_CBFS_NAME
|
|||
default "me_rw"
|
||||
help
|
||||
CBFS entry name for Intel CSE CBFS RW blob
|
||||
|
||||
config SOC_INTEL_CSE_RW_FILE
|
||||
string "Intel CSE CBFS RW path and filename"
|
||||
default ""
|
||||
help
|
||||
Intel CSE CBFS RW blob path and file name
|
||||
|
|
|
@ -3,3 +3,12 @@ romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CSE) += cse.c
|
|||
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CSE) += cse.c
|
||||
ramstage-$(CONFIG_SOC_INTEL_CSE_LITE_SKU) += cse_lite.c
|
||||
smm-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HECI_DISABLE_IN_SMM) += disable_heci.c
|
||||
|
||||
ifneq ($(CONFIG_SOC_INTEL_CSE_RW_FILE),"")
|
||||
CSE_LITE_ME_RW = $(call strip_quotes,$(CONFIG_SOC_INTEL_CSE_RW_CBFS_NAME))
|
||||
regions-for-file-$(CSE_LITE_ME_RW) = FW_MAIN_A,FW_MAIN_B
|
||||
cbfs-files-y += $(CSE_LITE_ME_RW)
|
||||
$(CSE_LITE_ME_RW)-file := $(call strip_quotes,$(CONFIG_SOC_INTEL_CSE_RW_FILE))
|
||||
$(CSE_LITE_ME_RW)-name := $(CSE_LITE_ME_RW)
|
||||
$(CSE_LITE_ME_RW)-type := raw
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue