diff options
author | Josh Rispoli <jprispol@us.ibm.com> | 2014-11-14 14:06:02 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-12-03 11:33:28 -0600 |
commit | 5eee371fba7be9298ed9a3f17170d59660d8a92c (patch) | |
tree | 92fbf0cf2b8cf9b4cf07057aa7723228dd0e1fb6 /src/usr/hwas/hostbootIstep.C | |
parent | 1ab5c789dbb39c069237b480e0dd6d22c9a85104 (diff) | |
download | blackbird-hostboot-5eee371fba7be9298ed9a3f17170d59660d8a92c.tar.gz blackbird-hostboot-5eee371fba7be9298ed9a3f17170d59660d8a92c.zip |
Add calls to reset I2C buses in isteps
Added i2c bus reset (force i2c reset) to isteps 6.3 and 6.12.
Change-Id: I35a95b4fdf6c045906f3620262c23ef4ec2baef2
RTC:116374
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14493
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/hostbootIstep.C')
-rw-r--r-- | src/usr/hwas/hostbootIstep.C | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/src/usr/hwas/hostbootIstep.C b/src/usr/hwas/hostbootIstep.C index 6c33c0a7c..77759c72a 100644 --- a/src/usr/hwas/hostbootIstep.C +++ b/src/usr/hwas/hostbootIstep.C @@ -47,6 +47,8 @@ #include <intr/interrupt.H> #include <ibscom/ibscomif.H> +#include <i2c/i2cif.H> + #include <sbe/sbeif.H> #include <sbe_update.H> @@ -81,13 +83,31 @@ using namespace ISTEP_ERROR; //****************************************************************************** void* host_init_fsi( void *io_pArgs ) { + errlHndl_t l_errl = NULL; + TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "host_init_fsi entry" ); + do + { + l_errl = FSI::initializeHardware( ); + if (l_errl) + { + break; + } - errlHndl_t errl = FSI::initializeHardware( ); - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "host_init_fsi exit" ); + //@TODO RTC:116439 + /* + l_errl = I2C::i2cResetMasters(I2C::I2C_RESET_PROC_ALL); + if (l_errl) + { + break; + } + */ - return errl; + } while (0); + + TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "host_init_fsi exit" ); + return l_errl; } //****************************************************************************** |