<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Stefan,<br>
<blockquote cite="mid:200806301427.43270.sr@denx.de" type="cite">
<blockquote type="cite">
<pre wrap="">The CPU and bus related info is hard-coded in the code. This is what I saw
from my code. Not very sure of it, though.
</pre>
</blockquote>
<pre wrap=""><!---->Yes, could be that you are using the fixed, compiled-in speed configuration.
</pre>
</blockquote>
This arises another question. Assume that both configurations (CPU and
SDRAM) are obtained from the EEPROM, how can C program/function be
adopted to use these parameters before CPU/memory is initiated? C
programs/functions need memory space to setup the stacks, which means
CPU/memory initialization should be done (via assembly) before any C
programs/functions can be used. <br>
<br>
Thanks again for your answering.<br>
<br>
Yi-Neng<br>
<blockquote cite="mid:200806301427.43270.sr@denx.de" type="cite">
<pre wrap=""></pre>
<blockquote type="cite">
<pre wrap=""> I think it's the spd_sdram() [cpu/ppc4xx] who does the job, which could
have been an outdated method.
</pre>
</blockquote>
<pre wrap=""><!---->
It was renamed and is now called 40x_spd_sdram.c. For board with DIMM modules
on 405EP this is the way to go.
</pre>
<blockquote type="cite">
<pre wrap="">The timing info is read from the SPD (Serial
Presence Detect) EEPROM on the SDRAM module. My question is, with the
upgraded CPU clock (333MHz), ordinary SDRAMs (PC100 and PC133) may not be
able to support it, which means I may have to use PC2700 (333MHz; too
fast?) or PC66(66MHz; too slow?). Am I correct? Any other comment or
solution for this?
</pre>
</blockquote>
<pre wrap=""><!---->
I'm pretty sure that you still can use the "ordinary" DIMMs. The driver should
configure the needed parameters like CAS latency accordingly.
Best regards,
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: <a class="moz-txt-link-abbreviated" href="mailto:office@denx.de">office@denx.de</a>
=====================================================================
</pre>
</blockquote>
<br>
</body>
</html>