summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.H
diff options
context:
space:
mode:
authorMike Baiocchi <baiocchi@us.ibm.com>2014-01-09 08:13:06 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-15 16:35:08 -0600
commit728120d7abd9c4d7ebfca8b212a2bdc4a4f93b4e (patch)
tree7d535ef36a6c6bec6501aee0a0baad502b127927 /src/usr/i2c/i2c.H
parentf2ebd48e3d24964ddaabbbc0c93a25ef843aae47 (diff)
downloadtalos-hostboot-728120d7abd9c4d7ebfca8b212a2bdc4a4f93b4e.tar.gz
talos-hostboot-728120d7abd9c4d7ebfca8b212a2bdc4a4f93b4e.zip
Add Callouts to I2C and VPD drivers
Callouts were added to I2C, EEPROM, MVPD and CVPD (via IPVPD code), and SPD code. Change-Id: Ibcb14ea3a228a5175b6faed06189286b0e0526bc RTC: 69113 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7966 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/i2c.H')
-rwxr-xr-xsrc/usr/i2c/i2c.H34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/usr/i2c/i2c.H b/src/usr/i2c/i2c.H
index 329877376..aa23790d7 100755
--- a/src/usr/i2c/i2c.H
+++ b/src/usr/i2c/i2c.H
@@ -117,40 +117,6 @@ struct i2c_addrs_t
};
/**
- * @brief Addresses for each of the registers in each engine.
- */
-static i2c_addrs_t masterAddrs[] =
-{
- { /* Master 0 */
- I2C_MASTER0_ADDR | 0x4, // FIFO
- I2C_MASTER0_ADDR | 0x5, // Command Register
- I2C_MASTER0_ADDR | 0x6, // Mode Register
- I2C_MASTER0_ADDR | 0x8, // Interrupt Mask Register
- I2C_MASTER0_ADDR | 0xA, // Interrupt Register
- I2C_MASTER0_ADDR | 0xB, // Status Register (Read)
- I2C_MASTER0_ADDR | 0xB, // Reset (Write)
- },
- { /* Master 1 */
- I2C_MASTER1_ADDR | 0x4, // FIFO
- I2C_MASTER1_ADDR | 0x5, // Command Register
- I2C_MASTER1_ADDR | 0x6, // Mode Register
- I2C_MASTER1_ADDR | 0x8, // Interrupt Mask Register
- I2C_MASTER1_ADDR | 0xA, // Interrupt Register
- I2C_MASTER1_ADDR | 0xB, // Status Register (Read)
- I2C_MASTER1_ADDR | 0xB, // Reset (Write)
- },
- { /* Master 2 */
- I2C_MASTER2_ADDR | 0x4, // FIFO
- I2C_MASTER2_ADDR | 0x5, // Command Register
- I2C_MASTER2_ADDR | 0x6, // Mode Register
- I2C_MASTER2_ADDR | 0x8, // Interrupt Mask Register
- I2C_MASTER2_ADDR | 0xA, // Interrupt Register
- I2C_MASTER2_ADDR | 0xB, // Status Register (Read)
- I2C_MASTER2_ADDR | 0xB, // Reset (Write)
- }
-};
-
-/**
* @brief Structure used to pass important variables between functions
*/
struct misc_args_t
OpenPOWER on IntegriCloud