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

Heiko Schocher hs at denx.de
Thu Oct 29 10:56:17 CET 2009


Hello javier,

javier Martin wrote:
>> 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 at pengutronix.de>
added to cc, as he is the original writer of this code.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list