[U-Boot-Users] Please pull u-boot-83xx.git (I2C rework)

Pantelis Antoniou pantelis.antoniou at gmail.com
Tue Nov 28 19:31:43 CET 2006


On 28 Νοε 2006, at 8:17 ΜΜ, Ben Warren wrote:

> On Tue, 2006-11-28 at 12:04 -0600, Timur Tabi wrote:
>> Joakim Tjernlund wrote:
>>
>>> I think that the I2C_READ and I2C_WRITE #defines in fsl_i2c.h  
>>> conflicts
>>> with
>>> soft I2C.
>>
>> Can you be more specific?  These two macros are defined in a  
>> variety of ways in
>> U-Boot.  Soft I2C is not used on any Freescale parts (AFAIK).
>>
> While it's not used on any Freescale evaluation boards, it could
> certainly be implemented on boards with Freescale CPUs.  I'm not sure
> why you'd bit-bang I2C if you have nice hardware controllers, but  
> there
> may be situations where this makes sense.  On the other hand, I don't
> know if SOFT_I2C and HARD_I2C can co-exist.
>
> Either way, I don't think we should preclude the use of SOFT I2C on
> Freescale CPUs.
>
> regards,
> Ben
>

In the same note, definitely, definitely there are designs with multiple
I2C buses. Just because something does not exist on an evaluation board,
it doesn't mean it's not used in the real world.

So please make sure that both HW I2C & SW I2C can coexist.

-- Pantelis






More information about the U-Boot mailing list