Re: [U-Boot] [PATCH 1/2] tegra: i2c: Add function to know about current bus

2012-11-07 Thread Heiko Schocher
Hello Simon, On 05.11.2012 21:43, Simon Glass wrote: Hi Heiko, On Tue, Oct 30, 2012 at 10:26 PM, Heiko Schocherh...@denx.de wrote: Hello Simon, On 30.10.2012 18:28, Simon Glass wrote: Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which

Re: [U-Boot] [PATCH 1/2] tegra: i2c: Add function to know about current bus

2012-11-05 Thread Simon Glass
Hi Heiko, On Tue, Oct 30, 2012 at 10:26 PM, Heiko Schocher h...@denx.de wrote: Hello Simon, On 30.10.2012 18:28, Simon Glass wrote: Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which returns a pointer to information about a bus. This will

[U-Boot] [PATCH 1/2] tegra: i2c: Add function to know about current bus

2012-10-30 Thread Simon Glass
Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which returns a pointer to information about a bus. This will make it easier to move to the new i2c framework. Signed-off-by: Simon Glass s...@chromium.org --- drivers/i2c/tegra_i2c.c | 78

Re: [U-Boot] [PATCH 1/2] tegra: i2c: Add function to know about current bus

2012-10-30 Thread Heiko Schocher
Hello Simon, On 30.10.2012 18:28, Simon Glass wrote: Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which returns a pointer to information about a bus. This will make it easier to move to the new i2c framework. Signed-off-by: Simon