From b1f4e911b9b7408b968469826db5ffb78c978c80 Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Tue, 7 Nov 2017 10:54:44 -0600 Subject: Collect PNOR trace on secure verification error Change-Id: If3b96e276cfee19e88f53b2c7b6f665bca4ffe08 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49368 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Michael Baiocchi Reviewed-by: Marshall J. Wilks Reviewed-by: Daniel M. Crowell --- src/usr/secureboot/base/securerommgr.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr/secureboot/base/securerommgr.C b/src/usr/secureboot/base/securerommgr.C index 7e517c31d..6f8e980a7 100644 --- a/src/usr/secureboot/base/securerommgr.C +++ b/src/usr/secureboot/base/securerommgr.C @@ -135,7 +135,7 @@ errlHndl_t verifyComponent( stringSet.add("Expected ID (truncated)",pTruncatedComponentId); stringSet.add("Expected ID (full)",i_pComponentId); stringSet.addToLog(pError); - + pError->collectTrace(PNOR_COMP_NAME,ERROR_TRACE_SIZE); pError->collectTrace(SECURE_COMP_NAME,ERROR_TRACE_SIZE); } @@ -453,7 +453,7 @@ errlHndl_t SecureRomManager::verifyContainer(void * i_container, true /*Add HB Software Callout*/ ); // Callout code to force a rewrite of the contents //@todo RTC:93870 - Define new callout for verification fail - + l_errl->collectTrace(PNOR_COMP_NAME,ERROR_TRACE_SIZE); l_errl->collectTrace(SECURE_COMP_NAME,ERROR_TRACE_SIZE); break; -- cgit v1.2.1