commit | 9c8fb2553fe66b0660aa883ebca76f37996e8ad5 | [log] [tgz] |
---|---|---|
author | Peter Tyser <ptyser@xes-inc.com> | Fri Apr 24 15:34:07 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Fri Jun 12 20:39:45 2009 +0200 |
tree | 2aa3fdbc71f996ed1066455e74149ee6fa8214c1 | |
parent | dc2da6c66b49ca1abec3701e858513619b92f81c [diff] |
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>