From: Mike Frysinger Date: Mon, 10 Oct 2011 14:26:22 -0400 Subject: [U-Boot] [PATCH V2 05/13] i2c: Create common default i2c_set_bus_num() function In-Reply-To: References: <1318091769-30979-1-git-send-email-sbabic@denx.de> <1318239351-10835-1-git-send-email-sbabic@denx.de> Message-ID: <201110101426.24106.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 10 October 2011 13:53:48 Tabi Timur-B04825 wrote: > On Mon, Oct 10, 2011 at 4:35 AM, Stefano Babic wrote: > > New default, weak i2c_set_bus_num() function. > > > > Signed-off-by: Stefano Babic > > Cc: Heiko Schocher > > 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. i think that'd require a much larger rework of the framework and thus would be better to do in addition to Stefano's work rather than in place of ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111010/930bd0a4/attachment.pgp