[U-Boot] Support for several I2C interfaces in the same board.

Heiko Schocher
2009-10-29T09:56:17Z

>> Hmm.. there is a driver/i2c/mxc_i2c.c driver for i.mx31, maybe the
>> i.mx27 is similiar to this? Can you check this?
>
> Yes, I2C registers are the same in both chips. The only things that I
> must change are:
> - i2c clock management.
> - i2c base addresses.

Ok.

> My current approach is trying to make this driver work for imx27/imx31
> using CONFIG_MX27/CONFIG_MX31 defines.
> I don't know if you have a better suggestion for this.

Sounds good to me. Maybe you talk with Sascha Hauer <s.hauer@pengutronix.de>
added to cc, as he is the original writer of this code.