i2c: common changes for multibus/multiadapter support

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
Cc: Henrik Nordström <henrik@henriknordstrom.net>
This commit is contained in:
Heiko Schocher
2012-01-16 21:12:24 +00:00
parent 385c9ef5a7
commit 3f4978c713
14 changed files with 249 additions and 63 deletions

View File

@ -219,15 +219,6 @@ int i2c_mux_ident_muxstring_f (uchar *buf);
#endif
#ifdef CONFIG_SYS_I2C
/*
* Initialization, must be called once on start up, may be called
* repeatedly to change the speed and slave addresses.
*/
void i2c_init(unsigned int speed, int slaveaddr);
#ifdef CONFIG_SYS_I2C_INIT_BOARD
void i2c_init_board(void);
#endif
/*
* i2c_get_bus_num:
*