[U-Boot] [PATCH 4/9 v3] 83xx, i2c: add mux support for fsl_i2c
Kim Phillips
kim.phillips at freescale.com
Mon Feb 23 23:43:52 CET 2009
On Thu, 19 Feb 2009 17:24:09 +0100
Heiko Schocher <hs at denx.de> wrote:
> Signed-off-by: Heiko Schocher <hs at denx.de>
> ---
> drivers/i2c/fsl_i2c.c | 24 +++++++++++++++++++++++-
> 1 files changed, 23 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c
> index ce646fd..5242884 100644
> --- a/drivers/i2c/fsl_i2c.c
> +++ b/drivers/i2c/fsl_i2c.c
> @@ -42,6 +42,7 @@ DECLARE_GLOBAL_DATA_PTR;
> #define CONFIG_SYS_SPD_BUS_NUM 0
> #endif
> static unsigned int i2c_bus_num __attribute__ ((section (".data"))) = CONFIG_SYS_SPD_BUS_NUM;
> +static unsigned int i2c_bus_num_mux __attribute__ ((section ("data"))) = 0;
also, this line gets this from the compiler:
fsl_i2c.c:45: warning: 'i2c_bus_num_mux' defined but not used
Kim
More information about the U-Boot
mailing list