[U-Boot] Odd value for I2C_TIMEOUT in fsl_i2c.c

Timur Tabi timur at freescale.com
Fri Sep 4 17:12:18 CEST 2009


Wolfgang Denk wrote:

> Wrong Question. I don't know enough about the I2C protocol. Why is
> i2c_wait4bus necessary?

Ok, why is it necessary?

> 
>> Kumar, any thoughts?  Is there something sneaky going on here, or did
>> you just misinterpret the value of I2C_TIMEOUT?
> 
> I guess I2C_TIMEOUT might always have been misinterpeted.

I think the original code was correct, because it was counting clock ticks.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list