<p>Lubomir Rintel has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22257">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vx900: fix format strings for DEBUG_RAM_SETUP=y<br><br>Change-Id: I990969cf1389c19032c4a0fafbdef45b9d6d1e8b<br>Signed-off-by: Lubomir Rintel <lkundrak@v3.sk><br>---<br>M src/northbridge/via/vx900/raminit_ddr3.c<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/22257/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/northbridge/via/vx900/raminit_ddr3.c b/src/northbridge/via/vx900/raminit_ddr3.c<br>index 56ec5fd..eec4aa3 100644<br>--- a/src/northbridge/via/vx900/raminit_ddr3.c<br>+++ b/src/northbridge/via/vx900/raminit_ddr3.c<br>@@ -897,7 +897,7 @@<br>     for (i = 0; i < VX900_MAX_MEM_RANKS; i++) {<br>                if (ranks->phys_rank_size_mb[i] == 0)<br>                      continue;<br>-            printram("Initializing rank %lu\n", i);<br>+            printram("Initializing rank %zu\n", i);<br> <br>          /* Set target physical rank to virtual rank 0<br>                  * other ranks to virtual rank 3*/<br>@@ -1283,7 +1283,7 @@<br>             break;<br>        }<br>     if (n_tries > 1)<br>-          printram("Hmm, we had to try %lu times before our calibration "<br>+            printram("Hmm, we had to try %zu times before our calibration "<br>                      "was good.\n", n_tries);<br> }<br> <br>@@ -1340,7 +1340,7 @@<br>             break;<br>        }<br>     if (n_tries > 1)<br>-          printram("Hmm, we had to try %lu times before our calibration "<br>+            printram("Hmm, we had to try %zu times before our calibration "<br>                      "was good.\n", n_tries);<br> }<br> <br>@@ -1575,7 +1575,7 @@<br>              * column address bits.<br>                */<br>           if ((col_bits < 10) || (col_bits > 11)) {<br>-                      printram("DIMM %ld has %d column address bits.\n",<br>+                 printram("DIMM %zd has %d column address bits.\n",<br>                           i, col_bits);<br>                        die("Unsupported DIMM. Try booting without this DIMM");<br>             }<br></pre><p>To view, visit <a href="https://review.coreboot.org/22257">change 22257</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22257"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I990969cf1389c19032c4a0fafbdef45b9d6d1e8b </div>
<div style="display:none"> Gerrit-Change-Number: 22257 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Lubomir Rintel <lkundrak@v3.sk> </div>