Hello Tabi, Tabi Timur-B04825 wrote: > On Mon, Oct 10, 2011 at 4:35 AM, Stefano Babic <sba...@denx.de> wrote: >> New default, weak i2c_set_bus_num() function. >> >> Signed-off-by: Stefano Babic <sba...@denx.de> >> Cc: Heiko Schocher <h...@denx.de> > > I would prefer to see a new set of I2C functions that take a bus > number as a parameter, so that we can eliminate i2c_set_bus_num() (and > the global variable it modifies) altogether.
Then please have a look at: http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/multibus_v2 It is a complete i2c rework with adding multiadapter/multibus to the i2c framework (and a i2c_core.c) ... It needs a rebase and tests, but my last tests (Ok, 6 months ago ... :-( ) on 2 powerpc architectures and one arm looked good ... bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot