
18 Jan
2016
18 Jan
'16
7 a.m.
Hello Christophe,
Am 17.01.2016 um 12:09 schrieb Christophe Ricard:
I2C_WAIT macro is not used in the code. 200 is bound to a fixed 100000 Hz i2c speed based on an existing formula: ( 10000000 / speed ) * 2 where speed = 100 000.
Signed-off-by: Christophe Ricard christophe-h.ricard@st.com
drivers/i2c/omap24xx_i2c.c | 3 --- 1 file changed, 3 deletions(-)
Thanks!
Acked-by: Heiko Schocher hs@denx.de
bye, Heiko
diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index d6e5fe9..48ca446 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -55,9 +55,6 @@ DECLARE_GLOBAL_DATA_PTR;
#define I2C_TIMEOUT 1000
-/* Absolutely safe for status update at 100 kHz I2C: */ -#define I2C_WAIT 200
- #ifdef CONFIG_DM_I2C struct omap24_i2c_bus { int bus_num;
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany