Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Peter Tyser's avatar
    a056b1ce
    Marvell: i2c cleanup · a056b1ce
    Peter Tyser authored
    
    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>
    a056b1ce
    History
    Marvell: i2c cleanup
    Peter Tyser authored
    
    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>