summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.C
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2018-03-22 16:12:21 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-30 17:07:19 -0400
commit55f0053bc34e10d118e383f782b7be5cb14f59d2 (patch)
treed7bdd840e7e15b31f6fdd6b7e09581a4ff43b264 /src/usr/i2c/i2c.C
parentbca54fb07d0e7ebfcf832f91813fd082622c9bae (diff)
downloadtalos-hostboot-55f0053bc34e10d118e383f782b7be5cb14f59d2.tar.gz
talos-hostboot-55f0053bc34e10d118e383f782b7be5cb14f59d2.zip
Reset Host-mode Processor I2C Masters connected to the TPMs
This commit resets the I2C buses connected to the TPMs early in the IPL since the FSP can't do the reset for us as they lack a FSI I2C connection to the TPMs. Change-Id: I4b4893da447f3c567c04a8d0c2b647f2927ec0ab RTC:188956 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56188 Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-xsrc/usr/i2c/i2c.C10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C
index 3aed2eb02..950f7bbff 100755
--- a/src/usr/i2c/i2c.C
+++ b/src/usr/i2c/i2c.C
@@ -3346,16 +3346,18 @@ errlHndl_t i2cProcessActiveMasters ( i2cProcessType i_processType,
{
TRACUCOMP( g_trac_i2c,INFO_MRK
"i2cProcessActiveMasters: skipping tgt=0x%X "
- "due to FSI::isSlavePresent returned=%d",
- TARGETING::get_huid(tgt), check );
+ "due to FSI::isSlavePresent returned=%s (%d)",
+ TARGETING::get_huid(tgt),
+ check ? "true" : "false", check );
continue;
}
else
{
TRACUCOMP( g_trac_i2c,INFO_MRK
"i2cProcessActiveMasters: keeping tgt=0x%X due "
- "to FSI::isSlavePresent returned=%d",
- TARGETING::get_huid(tgt), check );
+ "to FSI::isSlavePresent returned=%s (%d)",
+ TARGETING::get_huid(tgt),
+ check ? "true" : "false", check );
}
}
OpenPOWER on IntegriCloud