soc/intel/common/cse: Support RW update when stitching CSE binary
This change updates the STITCH_ME_BIN path to enable support for including CSE RW update in CBFS. CSE_RW_FILE is set to either CONFIG_SOC_INTEL_CSE_RW_FILE or CSE_BP2_BIN depending upon the selection of STITCH_ME_BIN config. BUG=b:189177580 Change-Id: I0478f6b2a3342ed29c7ca21aa8e26655c58265f4 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58181 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
0a0182e13d
commit
3f0d64329c
|
@ -64,7 +64,7 @@ config SOC_INTEL_CSE_RW_VERSION_CBFS_NAME
|
|||
CBFS name for Intel CSE CBFS RW version file
|
||||
|
||||
config SOC_INTEL_CSE_RW_FILE
|
||||
string "Intel CSE CBFS RW path and filename" if SOC_INTEL_CSE_RW_UPDATE
|
||||
string "Intel CSE CBFS RW path and filename" if SOC_INTEL_CSE_RW_UPDATE && !STITCH_ME_BIN
|
||||
default ""
|
||||
help
|
||||
Intel CSE CBFS RW blob path and file name
|
||||
|
|
|
@ -11,6 +11,7 @@ ifeq ($(CONFIG_STITCH_ME_BIN),y)
|
|||
CSE_BP1_BIN := $(objcse)/cse_bp1.bin
|
||||
CSE_BP2_BIN := $(objcse)/cse_bp2.bin
|
||||
CSE_LAYOUT_BIN := $(objcse)/cse_layout.bin
|
||||
CSE_RW_FILE := $(CSE_BP2_BIN)
|
||||
|
||||
CSE_BPDT_VERSION := $(call strip_quotes,$(CONFIG_CSE_BPDT_VERSION))
|
||||
ifeq ($(CONFIG_CSE_BPDT_VERSION),)
|
||||
|
@ -70,15 +71,18 @@ endif
|
|||
|
||||
ifeq ($(CONFIG_SOC_INTEL_CSE_RW_UPDATE),y)
|
||||
|
||||
ifeq ($(CONFIG_SOC_INTEL_CSE_RW_FILE),"")
|
||||
$(error "CSE RW file path is missing and need to be set by mainboard config")
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SOC_INTEL_CSE_RW_VERSION),"")
|
||||
$(error "CSE RW version is missing and need to be set by mainboard config")
|
||||
endif
|
||||
|
||||
CSE_RW_FILE=$(call strip_quotes,$(CONFIG_SOC_INTEL_CSE_RW_FILE))
|
||||
ifneq ($(CONFIG_STITCH_ME_BIN),y)
|
||||
|
||||
ifeq ($(CONFIG_SOC_INTEL_CSE_RW_FILE),"")
|
||||
$(error "CSE RW file path is missing and need to be set by mainboard config")
|
||||
endif
|
||||
CSE_RW_FILE := $(call strip_quotes,$(CONFIG_SOC_INTEL_CSE_RW_FILE))
|
||||
|
||||
endif
|
||||
|
||||
CSE_LITE_ME_RW = $(call strip_quotes,$(CONFIG_SOC_INTEL_CSE_RW_CBFS_NAME))
|
||||
regions-for-file-$(CSE_LITE_ME_RW) = $(call strip_quotes,$(CONFIG_SOC_INTEL_CSE_RW_A_FMAP_NAME)), \
|
||||
|
|
Loading…
Reference in New Issue