From 2383ff8f7e7617623873c39974fb3ce6f6bffc4c Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Wed, 23 May 2018 15:12:06 -0500 Subject: Add Secureboot Info to FFDC of I2C Errors This commit calls an existing Secureboot function to add Secureboot information to any error logs being returned from the I2C Device Driver. Change-Id: Ie0db72b8e5e103a0499e98f690e729d1b088fbc8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59274 Reviewed-by: Nicholas E. Bofferding Reviewed-by: ILYA SMIRNOV Disable-CI: Michael Baiocchi Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa --- src/usr/i2c/i2c.C | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/usr') diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C index 3c30a79ee..9c273626f 100755 --- a/src/usr/i2c/i2c.C +++ b/src/usr/i2c/i2c.C @@ -1091,9 +1091,11 @@ errlHndl_t i2cCommonOp( DeviceFW::OperationType i_opType, i_args.engine ); } - // If there is an error, add parameter info to log + // If there is an error, add FFDC if ( err != NULL ) { + + // Add parameter info to log // @todo RTC 114298- update this for new parms/switches I2C::UdI2CParms( i_opType, i_target, @@ -1101,6 +1103,10 @@ errlHndl_t i2cCommonOp( DeviceFW::OperationType i_opType, i_accessType, i_args ) .addToLog(err); + + // Add secureboot info to log + SECUREBOOT::addSecureUserDetailsToErrlog(err); + } TRACDCOMP( g_trac_i2c, -- cgit v1.2.1