[U-Boot-Users] Using a second I2C interface

Wolfgang Denk wd at denx.de
Tue May 16 18:21:06 CEST 2006


In message <1147458475.16780.105.camel at saruman.qstreams.net> you wrote:
> 
> Here's how I've done things in my sandbox:
> 
> All public I2C calls take a uchar as the first argument.  Since I2C only
> uses 7 bits for addressing, the MSB is unused (at least, at the function
> call level.  I know the hardware uses the bit for w/r).  I've
> commandeered this bit to denote controller number.  This way, the

And what if you have 3 I2C busses? Sorry, but I will no accept such a
hack.

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
There is an order of things in this universe.
	-- Apollo, "Who Mourns for Adonais?" stardate 3468.1




More information about the U-Boot mailing list