diff options
author | Justin Waters <justin.waters@timesys.com> | 2013-04-24 17:38:39 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2013-04-24 17:38:39 -0400 |
commit | 75c641ece39c136001340df61f0ad57028ce4ffc (patch) | |
tree | e5f2c5f5764770a34d0e39b5eace575fd4751527 /drivers/i2c/omap24xx_i2c.c | |
parent | 1341f103ac87882633b019a5a137056818234248 (diff) |
LogicPD Support for OMAP3/DM3/AM3 boards 2.1 Update
Diffstat (limited to 'drivers/i2c/omap24xx_i2c.c')
-rw-r--r-- | drivers/i2c/omap24xx_i2c.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index ec02a5d33e8..ca64e37ce68 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -40,6 +40,12 @@ static struct i2c *i2c_base = (struct i2c *)I2C_DEFAULT_BASE; static unsigned int bus_initialized[I2C_BUS_MAX]; static unsigned int current_bus; +int __i2c_mux_bus_pins(int bus) +{ + return 0; +} +void i2c_mux_bus_pins(int bus) __attribute__ ((weak, alias ("__i2c_mux_bus_pins"))); + void i2c_init (int speed, int slaveadd) { int psc, fsscll, fssclh; @@ -143,6 +149,7 @@ void i2c_init (int speed, int slaveadd) if (gd->flags & GD_FLG_RELOC) bus_initialized[current_bus] = 1; + i2c_mux_bus_pins(current_bus); } static int i2c_read_byte (u8 devaddr, u8 regoffset, u8 * value) |