summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-06-11 21:18:52 -0400
committerTom Rini <trini@konsulko.com>2015-06-11 21:18:52 -0400
commitb9130d88fa9e251123e2282184e8c1f3ae428a8a (patch)
tree87368904cfad98a19ee097d8ce2c61e77ccdb9c0 /include/i2c.h
parent7bb7d672aa50ed92a10ee268d0fed39aaa97a7c8 (diff)
parent257bfd2e215ff02aacce23e14bf17b61524a723f (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/i2c.h b/include/i2c.h
index ddfebc4107..9300d97e14 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -284,6 +284,12 @@ void i2c_init(int speed, int slaveaddr);
*/
void board_i2c_init(const void *blob);
+/*
+ * Compatibility functions for driver model.
+ */
+uint8_t i2c_reg_read(uint8_t addr, uint8_t reg);
+void i2c_reg_write(uint8_t addr, uint8_t reg, uint8_t val);
+
#endif
/*