[U-Boot] [PATCH v2 13/16] I2C: adding new "i2c bus" Command to the I2C Subsystem.

Heiko Schocher hs at denx.de
Thu Oct 16 17:06:28 CEST 2008


Hello Ben,

Ben Warren wrote:
> Heiko Schocher wrote:
>> With this Command it is possible to add new I2C Busses,
>> which are behind 1 .. n I2C Muxes. Details see README.
>>   
> While this is pretty cool, I'm curious what circumstances lead to
> needing to add I2C buses at run-time via command line.  Presumably you
> have a real business need for this in a bootloader?

Yes. This boardmanufacturer has a lot of hardwareversions with
different I2C bus wirings, but has for example always one EEProm
with configdata. Now, he can use one u-boot image for all this
boards and has just to define in the environment, in which way
he can reach this EEprom.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list