From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 16 Oct 2008 17:06:28 +0200 Subject: [U-Boot] [PATCH v2 13/16] I2C: adding new "i2c bus" Command to the I2C Subsystem. In-Reply-To: <48F61B3F.6090308@gmail.com> References: <48F59E43.7030602@denx.de> <48F61B3F.6090308@gmail.com> Message-ID: <48F75874.1030608@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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