From c3b2b326c53ffb4dd0d7df4496159a4b82d31273 Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Tue, 21 Aug 2018 14:11:58 -0500 Subject: Trusted Boot: Report Primary TPM required reason code as terminating This commit flags the RC_TPM_NOFUNCTIONALTPM_FAIL reason code as a terminating reason code to tell FSP that there is an expected boot failure without a deconfiguration. Further, when this error occurs, it TIs with this error's reason code instead of its PLID, so that FSP will balk to the alignment check to failover and use the backup TPM, when possible. Change-Id: I6809dd1de6f37ce50d6528ce1014c5ede115b0dd CQ: SW442904 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64973 Reviewed-by: ILYA SMIRNOV Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Marshall J. Wilks Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/usr/secureboot/trustedboot_reasoncodes.H | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/usr/secureboot') diff --git a/src/include/usr/secureboot/trustedboot_reasoncodes.H b/src/include/usr/secureboot/trustedboot_reasoncodes.H index 30865f5e0..677065d65 100644 --- a/src/include/usr/secureboot/trustedboot_reasoncodes.H +++ b/src/include/usr/secureboot/trustedboot_reasoncodes.H @@ -88,6 +88,7 @@ namespace TRUSTEDBOOT RC_TPMLOGMGR_ADDEVENT_FAIL = TRBOOT_COMP_ID | 0xAA, RC_TPMLOGMGR_ADDEVENTMARSH_FAIL = TRBOOT_COMP_ID | 0xAB, RC_TPMLOGMGR_INIT_FAIL = TRBOOT_COMP_ID | 0xAC, + //termination_rc RC_TPM_NOFUNCTIONALTPM_FAIL = TRBOOT_COMP_ID | 0xAD, RC_TPM_COMMAND_FAIL = TRBOOT_COMP_ID | 0xAE, RC_TPM_INVALID_ARGS = TRBOOT_COMP_ID | 0xAF, -- cgit v1.2.1