diff options
author | Stefan Bigler <stefan.bigler@keymile.com> | 2011-04-08 16:24:08 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2011-04-28 10:56:54 +0200 |
commit | c649dda537a1a585e51066169e6fdb67e2b8f59e (patch) | |
tree | 3e9059b78166e3b1e2e083948107a36d902e4959 /include/i2c.h | |
parent | a000b7950da938d2df37ec5e081cd0680e6e4bbe (diff) | |
download | u-boot-c649dda537a1a585e51066169e6fdb67e2b8f59e.tar.gz u-boot-c649dda537a1a585e51066169e6fdb67e2b8f59e.tar.xz u-boot-c649dda537a1a585e51066169e6fdb67e2b8f59e.zip |
i2c: add i2c deblock sequence before and after every mux config
To make sure that the mux can be configured a deblocking sequence
is done before the mux configuration. After the mux switch the new leaf
of, the i2c tree must be again deblocked.
Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'include/i2c.h')
-rw-r--r-- | include/i2c.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/i2c.h b/include/i2c.h index cd23c8ac12..8ceb4c8521 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -108,9 +108,7 @@ * 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); -#endif #ifdef CONFIG_SYS_I2C_BOARD_LATE_INIT void i2c_board_late_init(void); #endif |