[U-Boot] [PATCH V2 05/13] i2c: Create common default i2c_set_bus_num() function

Tabi Timur-B04825 B04825 at freescale.com
Mon Oct 10 19:53:48 CEST 2011


On Mon, Oct 10, 2011 at 4:35 AM, Stefano Babic <sbabic at denx.de> wrote:
> New default, weak i2c_set_bus_num() function.
>
> Signed-off-by: Stefano Babic <sbabic at denx.de>
> Cc: Heiko Schocher <hs at 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.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list