summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.C
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2018-05-23 15:12:06 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-05-24 09:23:29 -0400
commit2383ff8f7e7617623873c39974fb3ce6f6bffc4c (patch)
treec3e2d6df2711171f01bbf50f40d0b404d251a1c2 /src/usr/i2c/i2c.C
parent415026c16dd2fe493d693faf1555266315dc88d7 (diff)
downloadtalos-hostboot-2383ff8f7e7617623873c39974fb3ce6f6bffc4c.tar.gz
talos-hostboot-2383ff8f7e7617623873c39974fb3ce6f6bffc4c.zip
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 <bofferdn@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Disable-CI: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-xsrc/usr/i2c/i2c.C8
1 files changed, 7 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud