commit | 54afc6ee10c8cd09598d814d49e601359b005e49 | [log] [tgz] |
---|---|---|
author | Peter Tyser <ptyser@xes-inc.com> | Fri Apr 24 15:34:06 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Fri Jun 12 20:39:45 2009 +0200 |
tree | c294fcd1fa613a10cdc00f89671c5079af1eeb4b | |
parent | 9c90a2c8e87414007a016b7cd099ac1e32fd301b [diff] |
cpci750: i2c cleanup The following changes were made, primarily to bring the cpci750 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>