]> git.sur5r.net Git - u-boot/commit
ARMV7: OMAP: I2C driver: Restructure i2c_write_byte function
authorSteve Sakoman <steve@sakoman.com>
Wed, 20 Oct 2010 13:07:46 +0000 (06:07 -0700)
committerHeiko Schocher <hs@denx.de>
Wed, 20 Oct 2010 13:28:41 +0000 (15:28 +0200)
commitd480c4677315f15f155b64a14aa679adf27704c5
tree8b45cc06804cc0daf2c5ec28670bf0e59ecc45aa
parentda0cc665bc0b74c6650f340275c5462ec4c08645
ARMV7: OMAP: I2C driver: Restructure i2c_write_byte function

This patch removes the "magic number" delays and instead
monitors state changes in the status register bits.

Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org>
Tested-by: Heiko Schocher <hs@denx.de>
drivers/i2c/omap24xx_i2c.c