<br><font size=2 face="sans-serif">Timur,</font>
<br>
<br><font size=2 face="sans-serif">Thanks. It looks just a matter
of time. </font>
<br>
<br><font size=2 face="sans-serif">dongy</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Timur Tabi <timur@freescale.com></b></font>
<p><font size=1 face="sans-serif">03/29/2007 11:11 AM</font>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To:
Dongying_Xu@us.alphanetworks.com</font>
<br><font size=1 face="sans-serif"> cc:
Kim Phillips <kim.phillips@freescale.com>,
u-boot-users@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif"> Subject:
Re: [U-Boot-Users] i2c_set_bus_num</font></table>
<br>
<br>
<br><font size=2><tt>Dongying_Xu@us.alphanetworks.com wrote:<br>
> <br>
> Kim,<br>
> <br>
> Thanks. When I defined CFG_SPD_BUS_NUM 1 in my header file, things
are <br>
> much better. Though I don't understand why this definition will
help. <br>
> I read the "Initial Stack, Global Data" part
in Readme, It looks that <br>
> Initialized global data is read-only, if this is the case, then It
<br>
> should fail when I try to set I2c bus num to 0, but it worked. Could
<br>
> you please explain a little bit? Thanks<br>
<br>
If you call i2c_set_bus_num() before DDR is initialized, it will fail.<br>
<br>
If you call i2c_set_bus_num() after DDR is initialized, it will succeed.<br>
<br>
-- <br>
Timur Tabi<br>
Linux Kernel Developer @ Freescale<br>
</tt></font>
<br>
<br>