diff options
Diffstat (limited to 'drivers/i2c/tsi108_i2c.c')
| -rw-r--r-- | drivers/i2c/tsi108_i2c.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/drivers/i2c/tsi108_i2c.c b/drivers/i2c/tsi108_i2c.c index fda822c52..3829ef98f 100644 --- a/drivers/i2c/tsi108_i2c.c +++ b/drivers/i2c/tsi108_i2c.c @@ -41,6 +41,15 @@  /* All functions assume that Tsi108 I2C block is the only master on the bus */  /* I2C read helper function */ +void i2c_init(int speed, int slaveaddr) +{ +	/* +	 * The TSI108 has a fixed I2C clock rate and doesn't support slave +	 * operation.  This function only exists as a stub to fit into the +	 * U-Boot I2C API. +	 */ +} +  static int i2c_read_byte (  		uint i2c_chan,	/* I2C channel number: 0 - main, 1 - SDC SPD */  		uchar chip_addr,/* I2C device address on the bus */ |