summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/slave_sbe
diff options
context:
space:
mode:
authorMike Baiocchi <baiocchi@us.ibm.com>2014-11-21 08:43:28 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-15 10:53:05 -0600
commit5815883924b059a6594eb5e554b26a2bb8a712dc (patch)
tree42b03d340bad20668ac30b5179bd52a2001762fb /src/usr/hwpf/hwp/slave_sbe
parent8f0edf314a9c9198d95b0c7598e269cf8b7f232a (diff)
downloadtalos-hostboot-5815883924b059a6594eb5e554b26a2bb8a712dc.tar.gz
talos-hostboot-5815883924b059a6594eb5e554b26a2bb8a712dc.zip
Use FSI-based I2C for MVPD access in OpenPower
This code defaults all slave processors to use FSI I2C access method at the start of the IPL. Then in istep 6.12 it calls a new function i2cSetAccessMode() to set them to Host I2C access method for the rest of the IPL. Change-Id: Ib13d274aa9a64a533bce79d34e75c0bee4d3e5c8 RTC: 116439 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14590 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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.C6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C b/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C
index 696697345..f49b6c208 100644
--- a/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C
+++ b/src/usr/hwpf/hwp/slave_sbe/slave_sbe.C
@@ -442,8 +442,12 @@ void* call_proc_check_slave_sbe_seeprom_complete( void *io_pArgs )
}
} // endfor
- l_errl = I2C::i2cResetMasters(I2C::I2C_RESET_PROC_ALL);
+ // Slave processors should now use Host I2C Access Method
+ I2C::i2cSetAccessMode( I2C::I2C_SET_ACCESS_MODE_PROC_HOST );
+
+ // Reset the Processor's I2C Masters
+ l_errl = I2C::i2cResetMasters(I2C::I2C_RESET_PROC_ALL);
if (l_errl)
{
// Commit error
OpenPOWER on IntegriCloud