diff options
| author | Dean Sanner <dsanner@us.ibm.com> | 2017-02-16 12:28:22 -0600 |
|---|---|---|
| committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-02-21 11:08:55 -0500 |
| commit | fca7338f98eaa72c861cded4726846a3ff558184 (patch) | |
| tree | fc47d021734e060ef0a1cc8bda0a156bc786a4bb /src/usr/i2c | |
| parent | 06892e3cb492e12292b5f76a05c55aa0f21b65ed (diff) | |
| download | talos-hostboot-fca7338f98eaa72c861cded4726846a3ff558184.tar.gz talos-hostboot-fca7338f98eaa72c861cded4726846a3ff558184.zip | |
Don't reset/setup I2C master 0 as SBE owns it
Hostboot shouldn't be messing with I2C master 0 as the
SBE is actively using it. Reseting or setting it up
will cause SBE I2C errors the next time it accesses it
Change-Id: I12b16d158a18b09dadff1de4534f3ea986a532a6
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36569
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/i2c')
| -rwxr-xr-x | src/usr/i2c/i2c.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C index 59dda817a..55cb4b663 100755 --- a/src/usr/i2c/i2c.C +++ b/src/usr/i2c/i2c.C @@ -3228,6 +3228,14 @@ errlHndl_t i2cProcessActiveMasters ( i2cProcessType i_processType, continue; } + // Never touch engine 0 for Host -- the SBE owns + // it + if ( ( engine == 0 ) && + (io_args.switches.useHostI2C == 1) ) + { + continue; + } + // Look for any device on this engine based on speed_array bool skip = true; for ( size_t j = 0; j < I2C_BUS_ATTR_MAX_PORT; j++ ) |

