public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] i2c_set_bus_num
Date: Thu, 29 Mar 2007 13:11:12 -0500	[thread overview]
Message-ID: <460C0140.80400@freescale.com> (raw)
In-Reply-To: <OF3407911C.9C67A1CD-ON882572AD.006249DB-882572AD.0063D140@us.alphanetworks.com>

Dongying_Xu at us.alphanetworks.com wrote:
> 
> Kim,
> 
> Thanks. When I defined CFG_SPD_BUS_NUM 1 in my header file, things are 
> much better.  Though I don't understand why this definition will help. 
>  I read the  "Initial Stack, Global Data" part in Readme, It looks that 
> Initialized global data is read-only, if this is the case, then It 
> should fail when I try to set I2c bus num to 0, but it worked.  Could 
> you please explain a little bit?   Thanks

If you call i2c_set_bus_num() before DDR is initialized, it will fail.

If you call i2c_set_bus_num() after DDR is initialized, it will succeed.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

  reply	other threads:[~2007-03-29 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 23:48 [U-Boot-Users] i2c_set_bus_num Dongying_Xu at us.alphanetworks.com
2007-03-28  1:00 ` Kim Phillips
2007-03-28  1:07   ` Timur Tabi
2007-03-29 18:07   ` Dongying_Xu at us.alphanetworks.com
2007-03-29 18:11     ` Timur Tabi [this message]
2007-03-29 18:51       ` Dongying_Xu at us.alphanetworks.com

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=460C0140.80400@freescale.com \
    --to=timur@freescale.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