[U-Boot] I2C Register

Stefan Roese sr at denx.de
Fri Feb 5 06:59:08 CET 2010


Hi Ronny,

On Friday 05 February 2010 06:43:20 Ronny D wrote:
> I am using ppc440 for customized board.

So is this a "normal" AMCC PPC4xx (e.g. 440GX...) or a custom PPC4xx chip? If 
it's a common 4xx, then the normal PPC4xx I2C code should just work for you as 
well.
 
> U-boot version that i am using is u-boot-2009.11.

That is before the restructuring. For new work please use the latest version 
from the git repository.

> Here i am searching for the ppc4xx_i2c structure but not able to get it. on
>  the other hand i have seen the i2c register macros used in i2c_transfer
>  call.

Again, 2009-11 is already outdated. I reworked the I2C stuff in the meantime. 
Try the latest version and take a look at:

  cpu/ppc4xx/i2c.c
  include/4xx_i2c.h
 

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list