diff options
author | Heiko Schocher <hs@denx.de> | 2012-10-25 10:32:14 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2013-07-23 08:34:53 +0200 |
commit | 9a2accb44f871af9c87c34d1c9ac95010f4e6f09 (patch) | |
tree | f4fdbb502b7cd8572f848e20db5321bc2f07d30d /include/i2c.h | |
parent | 00f792e0df9ae942427e44595a0f4379582accee (diff) | |
download | u-boot-imx-9a2accb44f871af9c87c34d1c9ac95010f4e6f09.zip u-boot-imx-9a2accb44f871af9c87c34d1c9ac95010f4e6f09.tar.gz u-boot-imx-9a2accb44f871af9c87c34d1c9ac95010f4e6f09.tar.bz2 |
i2c, multibus: get rid of CONFIG_I2C_MUX
CONFIG_I2C_MUX is replaced through the new i2c multibus/multiadapter
framework, configured through CONFIG_SYS_I2C. As CONFIG_I2C_MUX
is only used on the keymile boards, and they are now completely
moved to the new framework, remove CONFIG_I2C_MUX.
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Holger Brunck <holger.brunck@keymile.com>
Tested-By: Holger Brunck <holger.brunck@keymile.com>
Diffstat (limited to 'include/i2c.h')
-rw-r--r-- | include/i2c.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/i2c.h b/include/i2c.h index f532a14..a8074ac 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -197,27 +197,6 @@ void i2c_init_board(void); void i2c_board_late_init(void); #endif -#if defined(CONFIG_I2C_MUX) - -typedef struct _mux { - uchar chip; - uchar channel; - char *name; - struct _mux *next; -} I2C_MUX; - -typedef struct _mux_device { - int busid; - I2C_MUX *mux; /* List of muxes, to reach the device */ - struct _mux_device *next; -} I2C_MUX_DEVICE; - -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); -int i2c_mux_ident_muxstring_f (uchar *buf); -#endif - #ifdef CONFIG_SYS_I2C /* * i2c_get_bus_num: |