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.ric...@st.com> --- drivers/i2c/omap24xx_i2c.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.5.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot