[coreboot-gerrit] Change in coreboot[master]: vx900: fix format strings for DEBUG_RAM_SETUP=y
Lubomir Rintel (Code Review)
gerrit at coreboot.org
Tue Oct 31 09:43:30 CET 2017
Lubomir Rintel has uploaded this change for review. ( https://review.coreboot.org/22257
Change subject: vx900: fix format strings for DEBUG_RAM_SETUP=y
......................................................................
vx900: fix format strings for DEBUG_RAM_SETUP=y
Change-Id: I990969cf1389c19032c4a0fafbdef45b9d6d1e8b
Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
M src/northbridge/via/vx900/raminit_ddr3.c
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/22257/1
diff --git a/src/northbridge/via/vx900/raminit_ddr3.c b/src/northbridge/via/vx900/raminit_ddr3.c
index 56ec5fd..eec4aa3 100644
--- a/src/northbridge/via/vx900/raminit_ddr3.c
+++ b/src/northbridge/via/vx900/raminit_ddr3.c
@@ -897,7 +897,7 @@
for (i = 0; i < VX900_MAX_MEM_RANKS; i++) {
if (ranks->phys_rank_size_mb[i] == 0)
continue;
- printram("Initializing rank %lu\n", i);
+ printram("Initializing rank %zu\n", i);
/* Set target physical rank to virtual rank 0
* other ranks to virtual rank 3*/
@@ -1283,7 +1283,7 @@
break;
}
if (n_tries > 1)
- printram("Hmm, we had to try %lu times before our calibration "
+ printram("Hmm, we had to try %zu times before our calibration "
"was good.\n", n_tries);
}
@@ -1340,7 +1340,7 @@
break;
}
if (n_tries > 1)
- printram("Hmm, we had to try %lu times before our calibration "
+ printram("Hmm, we had to try %zu times before our calibration "
"was good.\n", n_tries);
}
@@ -1575,7 +1575,7 @@
* column address bits.
*/
if ((col_bits < 10) || (col_bits > 11)) {
- printram("DIMM %ld has %d column address bits.\n",
+ printram("DIMM %zd has %d column address bits.\n",
i, col_bits);
die("Unsupported DIMM. Try booting without this DIMM");
}
--
To view, visit https://review.coreboot.org/22257
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I990969cf1389c19032c4a0fafbdef45b9d6d1e8b
Gerrit-Change-Number: 22257
Gerrit-PatchSet: 1
Gerrit-Owner: Lubomir Rintel <lkundrak at v3.sk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171031/ca87e79a/attachment.html>
More information about the coreboot-gerrit
mailing list