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

Timur Tabi
2009-09-04T15:12:18Z

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