summaryrefslogtreecommitdiff
path: root/make_helpers
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2018-01-02 11:23:41 +0000
committerRoberto Vargas <roberto.vargas@arm.com>2018-01-18 16:25:18 +0000
commitc9b31ae85fbcce6dad9596f3390ab443e2779f30 (patch)
treec25e00f7549cae8ff184fa04403aab8de47ef075 /make_helpers
parent4cd1769f8190f5c1d7dab02d5a619d3e6e23c946 (diff)
bl2-el3: Don't include BL2 in fip for BL2 at EL3
It is better to not include BL2 in FIP when using `BL2 at EL3` as platforms using this config would not have the capability to parse the FIP format in Boot ROM and BL2 needs to be loaded independently. This patch does the required changes for the same. Change-Id: Iad285c247b3440e2d827fef97c3dd81f5c09cabc Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'make_helpers')
-rw-r--r--make_helpers/tbbr/tbbr_tools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/make_helpers/tbbr/tbbr_tools.mk b/make_helpers/tbbr/tbbr_tools.mk
index 6e6e2739..cda8d726 100644
--- a/make_helpers/tbbr/tbbr_tools.mk
+++ b/make_helpers/tbbr/tbbr_tools.mk
@@ -64,7 +64,9 @@ $(if ${NON_TRUSTED_WORLD_KEY},$(eval $(call CERT_ADD_CMD_OPT,${NON_TRUSTED_WORLD
$(if ${BL2},$(eval $(call CERT_ADD_CMD_OPT,${BL2},--tb-fw,true)),\
$(eval $(call CERT_ADD_CMD_OPT,$(call IMG_BIN,2),--tb-fw,true)))
$(eval $(call CERT_ADD_CMD_OPT,${BUILD_PLAT}/tb_fw.crt,--tb-fw-cert))
+ifeq (${BL2_AT_EL3}, 0)
$(eval $(call FIP_ADD_PAYLOAD,${BUILD_PLAT}/tb_fw.crt,--tb-fw-cert))
+endif
# Add the SCP_BL2 CoT (key cert + img cert + image)
ifneq (${SCP_BL2},)