summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Bigler <[email protected]>2011-04-08 16:24:08 +0200
committerHeiko Schocher <[email protected]>2011-04-28 10:56:54 +0200
commitc649dda537a1a585e51066169e6fdb67e2b8f59e (patch)
tree3e9059b78166e3b1e2e083948107a36d902e4959 /include
parenta000b7950da938d2df37ec5e081cd0680e6e4bbe (diff)
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 <[email protected]> Acked-by: Heiko Schocher <[email protected]> cc: Wolfgang Denk <[email protected]> cc: Detlev Zundel <[email protected]> cc: Prafulla Wadaskar <[email protected]> cc: Valentin Longchamp <[email protected]> cc: Holger Brunck <[email protected]> Signed-off-by: Valentin Longchamp <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/i2c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/i2c.h b/include/i2c.h
index cd23c8ac124..8ceb4c85214 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