From c649dda537a1a585e51066169e6fdb67e2b8f59e Mon Sep 17 00:00:00 2001 From: Stefan Bigler Date: Fri, 8 Apr 2011 16:24:08 +0200 Subject: 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 Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Holger Brunck Signed-off-by: Valentin Longchamp --- include/i2c.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/i2c.h') diff --git a/include/i2c.h b/include/i2c.h index cd23c8ac1..8ceb4c852 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 -- cgit v1.2.3