]> git.sur5r.net Git - u-boot/commit
Marvell: i2c cleanup
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 24 Apr 2009 20:34:07 +0000 (15:34 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:45 +0000 (20:39 +0200)
commita056b1ce9e19b4d4ab3dd01c3f897dcd832cd37f
tree2aa3fdbc71f996ed1066455e74149ee6fa8214c1
parent54afc6ee10c8cd09598d814d49e601359b005e49
Marvell: i2c cleanup

The following changes were made, primarily to bring the Marvell i2c
driver in line with U-Boot's current I2C API:
- Made i2c_init() globally accessible
- Made i2c_read() and i2c_write() return an integer
- Updated i2c_init() calls to pass in CONFIG_SYS_I2C_SLAVE in the
  offhand chance someone adds slave support in the future

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
board/Marvell/common/i2c.c