public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ronny D <ronny_d37@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] I2C Register
Date: Thu, 4 Feb 2010 22:41:27 -0800 (PST)	[thread overview]
Message-ID: <741199.65716.qm@web46103.mail.sp1.yahoo.com> (raw)
In-Reply-To: <201002041553.08036.sr@denx.de>

It is not a normal AMCC PPC4xx, its a customized PPC4xx chip. so I2C code wont work for me as it is.

i will have to map my register with i2c register used by u-boot.

Now i have downloaded latest u-boot version(Jan 25 2010 12:37 Link u-boot-latest.tar.bz2 -> u-boot-2009.11.1.tar.bz2) from ftp.

still ppc4xx_i2c structure i could not found. 

~Ronny.

--- On Thu, 4/2/10, Stefan Roese <sr@denx.de> wrote:
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: off... at denx.de
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

  parent reply	other threads:[~2010-02-05  6:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04 14:30 [U-Boot] I2C Register Ronny D
2010-02-04 14:53 ` Stefan Roese
2010-02-05  5:43   ` Ronny D
2010-02-05  5:59     ` Stefan Roese
2010-02-05  6:41   ` Ronny D [this message]
2010-02-05  7:24     ` Stefan Roese
2010-02-05  8:22       ` Ronny D
2010-02-05  8:32         ` Stefan Roese
2010-03-02  5:50       ` [U-Boot] U-boot compilation for little endian Ronny D
2010-03-02  7:53         ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=741199.65716.qm@web46103.mail.sp1.yahoo.com \
    --to=ronny_d37@yahoo.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox