Skip to content
Snippets Groups Projects
Commit 54afc6ee authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

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: default avatarPeter Tyser <ptyser@xes-inc.com>
parent 9c90a2c8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment