summaryrefslogtreecommitdiffstats
path: root/src/include/usr/i2c
diff options
context:
space:
mode:
authorMike Baiocchi <baiocchi@us.ibm.com>2015-04-02 13:42:00 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-04-09 21:38:09 -0500
commit9419597dac3c8e59da79023acdbda64f1ab0d5ca (patch)
tree3571c55b7ee830642ab265f7a2c30fad985f7043 /src/include/usr/i2c
parent11adfe7dd53ddf8bfb33d82c7de5fc80e08a0666 (diff)
downloadtalos-hostboot-9419597dac3c8e59da79023acdbda64f1ab0d5ca.tar.gz
talos-hostboot-9419597dac3c8e59da79023acdbda64f1ab0d5ca.zip
Fix I2C Reset to resolve I2C Bus Arbitration Lost Errors
This commit fixes 2 bugs where the full "Force Reset and Unlock" I2C reset procedure used to both avoid and recover from I2C Bus Arbitration Lost errors was not being performed correctly on any ports but port 0. Change-Id: Ie967d81917e9b942d5cb516856075ebdb5029487 CQ: SW297864 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16842 Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@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/include/usr/i2c')
-rw-r--r--src/include/usr/i2c/i2creasoncodes.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/usr/i2c/i2creasoncodes.H b/src/include/usr/i2c/i2creasoncodes.H
index 6dda540da..fda1c142c 100644
--- a/src/include/usr/i2c/i2creasoncodes.H
+++ b/src/include/usr/i2c/i2creasoncodes.H
@@ -58,6 +58,7 @@ enum i2cModuleId
I2C_SETUP_MASTERS = 0x08,
I2C_SEND_SLAVE_STOP = 0x09,
I2C_PROCESS_ACTIVE_MASTERS = 0x0A,
+ I2C_FORCE_RESET_AND_UNLOCK = 0x0B,
};
OpenPOWER on IntegriCloud