summaryrefslogtreecommitdiffstats
path: root/src/include/usr/i2c/i2cif.H
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/include/usr/i2c/i2cif.H
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/include/usr/i2c/i2cif.H')
-rw-r--r--src/include/usr/i2c/i2cif.H21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/include/usr/i2c/i2cif.H b/src/include/usr/i2c/i2cif.H
index ac28686b8..f0eb6d313 100644
--- a/src/include/usr/i2c/i2cif.H
+++ b/src/include/usr/i2c/i2cif.H
@@ -39,18 +39,21 @@ namespace I2C
*/
errlHndl_t i2cSetupMasters ( void );
-
/**
-* @enum i2cResetType
-*
-* @brief I2C Reset Type specifies what is reset when i2cResetMasters() is called
-* @todo RTC 115832 - additional enums will be added
-*
-*/
+ * @enum i2cResetType
+ *
+ * @brief I2C Reset Type specifies what is reset when i2cResetMasters() is called
+ */
enum i2cResetType
{
- I2C_RESET_INVALID = 0x00,
- I2C_RESET_PROC_HOST = 0x01, // Only Host (not FSI)
+ I2C_RESET_INVALID,
+ I2C_RESET_ALL,
+ I2C_RESET_PROC_ALL,
+ I2C_RESET_PROC_FSI,
+ I2C_RESET_PROC_HOST,
+ I2C_RESET_MEMBUF_ALL,
+ I2C_RESET_MEMBUF_FSI,
+ I2c_RESET_MEMBUF_HOST
};
/**
OpenPOWER on IntegriCloud