[U-Boot] [PATCH v3 1/3] ARM: I2C: I2C Multi byte address support
Thomas Weber
thomas.weber.linux at googlemail.com
Thu Feb 16 20:33:46 CET 2012
Hello Rachna,
On 01/23/2012 10:44 AM, Patil, Rachna wrote:
> Existing OMAP I2C driver does not support address
> length greater than one. Hence this patch is to
> add support for 2 byte address read/write.
>
> Signed-off-by: Philip, Avinash<avinashphilip at ti.com>
> Signed-off-by: Hebbar, Gururaja<gururaja.hebbar at ti.com>
> Signed-off-by: Patil, Rachna<rachna at ti.com>
> ---
> Changes for v3:
> rebased, patches applied on top of master branch
>
> drivers/i2c/omap24xx_i2c.c | 467 ++++++++++++++++++++++++++++----------------
> drivers/i2c/omap24xx_i2c.h | 2 +
> 2 files changed, 296 insertions(+), 173 deletions(-)
>
> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
> index a7ffd95..80932ef 100644
> --- a/drivers/i2c/omap24xx_i2c.c
> +++ b/drivers/i2c/omap24xx_i2c.c
> @@ -29,10 +29,11 @@
>
> DECLARE_GLOBAL_DATA_PTR;
>
> -#define I2C_TIMEOUT 1000
> +#define I2C_STAT_TIMEO (1<< 31)
> +#define I2C_TIMEOUT 10
>
why do you change I2C_TIMEOUT from 1000 to 10?
Thomas
More information about the U-Boot
mailing list