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<[email protected]>
Signed-off-by: Hebbar, Gururaja<[email protected]>
Signed-off-by: Patil, Rachna<[email protected]>
---
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

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to