diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2018-03-22 16:12:21 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-03-30 17:07:19 -0400 |
commit | 55f0053bc34e10d118e383f782b7be5cb14f59d2 (patch) | |
tree | d7bdd840e7e15b31f6fdd6b7e09581a4ff43b264 /src/usr/secureboot/trusted | |
parent | bca54fb07d0e7ebfcf832f91813fd082622c9bae (diff) | |
download | talos-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/secureboot/trusted')
-rw-r--r-- | src/usr/secureboot/trusted/trustedboot.C | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/usr/secureboot/trusted/trustedboot.C b/src/usr/secureboot/trusted/trustedboot.C index 88d1158d0..2f27064ca 100644 --- a/src/usr/secureboot/trusted/trustedboot.C +++ b/src/usr/secureboot/trusted/trustedboot.C @@ -52,7 +52,6 @@ #include <config.h> #include <devicefw/driverif.H> #include <i2c/tpmddif.H> -#include <i2c/i2cif.H> #include "trustedboot.H" #include "trustedTypes.H" #include "trustedbootCmds.H" @@ -275,33 +274,6 @@ void* host_update_master_tpm( void *io_pArgs ) if( hwasState.present && hwasState.functional) { - // If MPIPL do I2C Reset to any processor's I2C engine that is - // driving the TPMs - TARGETING::Target* sys = nullptr; - (void) tS.getTopLevelTarget( sys ); - assert(sys, "host_update_master_tpm() system target is nullptr"); - - if (sys->getAttr<TARGETING::ATTR_IS_MPIPL_HB>()) - { - err = I2C::i2cResetActiveMasters( - I2C::I2C_PROC_HOST, - true, - I2C::i2cEngineToEngineSelect(tpmData.engine)); - - if (nullptr != err) - { - // Commit log and continue - TRACFCOMP(g_trac_trustedboot,ERR_MRK - "host_update_master_tpm(): Committing I2C " - "Reset Fail plid=0x%X but continuing", - err->plid()); - err->collectTrace(TRBOOT_COMP_NAME); - errlCommit(err, TRBOOT_COMP_ID); - err = nullptr; - } - - } - // API call will set TPM init attempted appropriately tpmInitialize(pPrimaryTpm); } |