summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/slave_sbe
diff options
context:
space:
mode:
authorJosh Rispoli <jprispol@us.ibm.com>2014-11-14 14:06:02 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-03 11:33:28 -0600
commit5eee371fba7be9298ed9a3f17170d59660d8a92c (patch)
tree92fbf0cf2b8cf9b4cf07057aa7723228dd0e1fb6 /src/usr/hwpf/hwp/slave_sbe
parent1ab5c789dbb39c069237b480e0dd6d22c9a85104 (diff)
downloadtalos-hostboot-5eee371fba7be9298ed9a3f17170d59660d8a92c.tar.gz
talos-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/hwpf/hwp/slave_sbe')
-rw-r--r--src/usr/hwpf/hwp/slave_sbe/slave_sbe.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C b/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C
index 9842d31da..696697345 100644
--- a/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C
+++ b/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C
@@ -44,6 +44,7 @@
#include <initservice/initsvcreasoncodes.H>
#include <sys/time.h>
#include <devicefw/userif.H>
+#include <i2c/i2cif.H>
// targeting support
#include <targeting/common/commontargeting.H>
@@ -441,6 +442,14 @@ void* call_proc_check_slave_sbe_seeprom_complete( void *io_pArgs )
}
} // endfor
+ l_errl = I2C::i2cResetMasters(I2C::I2C_RESET_PROC_ALL);
+
+ if (l_errl)
+ {
+ // Commit error
+ errlCommit( l_errl, HWPF_COMP_ID );
+ }
+
TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
"call_proc_check_slave_sbe_seeprom_complete exit");
OpenPOWER on IntegriCloud