]> git.sur5r.net Git - u-boot/blobdiff - include/i2c.h
MX31: imx31_litekit: make use of GPIO framework
[u-boot] / include / i2c.h
index 31088b675a36b021d24222ba5e81c83287d4cefc..8ceb4c852149425c91377dc2a8d56e2bfd7c6c5a 100644 (file)
  * repeatedly to change the speed and slave addresses.
  */
 void i2c_init(int speed, int slaveaddr);
-#ifdef CONFIG_SYS_I2C_INIT_BOARD
 void i2c_init_board(void);
+#ifdef CONFIG_SYS_I2C_BOARD_LATE_INIT
+void i2c_board_late_init(void);
 #endif
 
 #if defined(CONFIG_I2C_MUX)
@@ -127,8 +128,6 @@ typedef struct _mux_device {
        struct _mux_device      *next;
 } I2C_MUX_DEVICE;
 
-int    i2c_mux_add_device(I2C_MUX_DEVICE *dev);
-
 I2C_MUX_DEVICE *i2c_mux_search_device(int id);
 I2C_MUX_DEVICE *i2c_mux_ident_muxstring (uchar *buf);
 int i2x_mux_select_mux(int bus);