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

Wolfgang Denk wd at denx.de
Tue Nov 28 22:03:13 CET 2006


In message <1164737878.31193.38.camel at saruman.qstreams.net> you wrote:
>
> > 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

...because  the  bitbanging  code  is  much  smaller  and  easier  to
implement and debug than the code that uses the HW controller?

> may be situations where this makes sense.  On the other hand, I don't
> know if SOFT_I2C and HARD_I2C can co-exist.

No, theu=y are exclusive. But it should be possible to select any  of
these interfaces.

> Either way, I don't think we should preclude the use of SOFT I2C on
> Freescale CPUs.

Agreed.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Wagner's music is better than it sounds."               - Mark Twain




More information about the U-Boot mailing list