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/i2c | |
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/i2c')
-rwxr-xr-x | src/usr/i2c/i2c.C | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C index 13d1b7c1b..50aef65e2 100755 --- a/src/usr/i2c/i2c.C +++ b/src/usr/i2c/i2c.C @@ -2378,9 +2378,8 @@ errlHndl_t i2cResetMasters ( i2cResetType i_resetType ) // Now reset the engine/bus if ( error_found == false ) { - err = i2cReset ( procList[proc], - io_args); - + err = i2cReset ( procList[proc], io_args, + FORCE_UNLOCK_RESET); if( err ) { TRACFCOMP( g_trac_i2c, @@ -2420,8 +2419,6 @@ errlHndl_t i2cResetMasters ( i2cResetType i_resetType ) return err; } - - // ------------------------------------------------------------------ // i2cRegisterOp // ------------------------------------------------------------------ |