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

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: default avatarPeter Tyser <ptyser@xes-inc.com>
parent 54afc6ee
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