Hello Tetsuyuki Kobayashi,
On 14.09.2012 07:07, Tetsuyuki Kobayashi wrote:
Iwamatu-san, thank you for review. This is v3 patch for sh_i2c.
Changes for v3:
- call i2c_finish before returning i2c_probe, i2c_read, i2c_write even if error
occured. Without this, it fails to boot Linux kernel after using "i2c probe"
command.
- use setbits/clrbits macro as Iwamatsu-san pointed.
Please check patch 5,6 and 10. The rest is not changed.
This patch set is based on arm/rmobile branch of u-boot-sh.git.
Tetsuyuki Kobayashi (10):
i2c: sh_i2c.c: support iccl and icch extension
i2c: sh_i2c.c: correct BUSY bit define in ICSR
i2c: sh_i2c.c: adjust for SH73A0
i2c: sh_i2c.c: support I2C2, I2C3 and I2C4
i2c: sh_i2c: enable i2c_probe
i2c: sh_i2c.c: check error in i2c_read and i2c_write
i2c: sh_i2c.c: remove unused function
arm: rmobile: kzm9g: enable I2C1
arm: rmobile: kzm9g: enable I2C2
i2c: sh_i2c: use setbits/clrbits macro
board/kmc/kzm9g/kzm9g.c | 7 ++-
drivers/i2c/sh_i2c.c | 139 ++++++++++++++++++++++++++++++++---------------
include/configs/kzm9g.h | 8 ++-
3 files changed, 107 insertions(+), 47 deletions(-)
Applied this patchset (exept patch "i2c: sh_i2c.c: remove unused
function", as this patch is already in mainline) to u-boot-i2c master
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot