vx900: fix format strings for DEBUG_RAM_SETUP=y
Change-Id: I990969cf1389c19032c4a0fafbdef45b9d6d1e8b Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-on: https://review.coreboot.org/22257 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
c1633045be
commit
fd470f7163
@ -897,7 +897,7 @@ static void vx900_dram_ddr3_dimm_init(const ramctr_timing * ctrl,
|
|||||||
for (i = 0; i < VX900_MAX_MEM_RANKS; i++) {
|
for (i = 0; i < VX900_MAX_MEM_RANKS; i++) {
|
||||||
if (ranks->phys_rank_size_mb[i] == 0)
|
if (ranks->phys_rank_size_mb[i] == 0)
|
||||||
continue;
|
continue;
|
||||||
printram("Initializing rank %lu\n", i);
|
printram("Initializing rank %zu\n", i);
|
||||||
|
|
||||||
/* Set target physical rank to virtual rank 0
|
/* Set target physical rank to virtual rank 0
|
||||||
* other ranks to virtual rank 3*/
|
* other ranks to virtual rank 3*/
|
||||||
@ -1283,7 +1283,7 @@ static void vx900_dram_calibrate_recieve_delays(vx900_delay_calib * delays,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (n_tries > 1)
|
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);
|
"was good.\n", n_tries);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1340,7 +1340,7 @@ static void vx900_dram_calibrate_transmit_delays(delay_range * tx_dq,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (n_tries > 1)
|
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);
|
"was good.\n", n_tries);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1575,7 +1575,7 @@ static void vx900_dram_map_row_col_bank(dimm_info * dimms)
|
|||||||
* column address bits.
|
* column address bits.
|
||||||
*/
|
*/
|
||||||
if ((col_bits < 10) || (col_bits > 11)) {
|
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);
|
i, col_bits);
|
||||||
die("Unsupported DIMM. Try booting without this DIMM");
|
die("Unsupported DIMM. Try booting without this DIMM");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user