
26 Jul
2018
26 Jul
'18
3:59 p.m.
With the recent changes of the underlying types for the ram size, we need to adjust the formatting. Use PRIx64 to print the (now) u64 field.
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com ---
arch/mips/mach-bmips/dram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/mach-bmips/dram.c b/arch/mips/mach-bmips/dram.c index 87ced7c..0884bce 100644 --- a/arch/mips/mach-bmips/dram.c +++ b/arch/mips/mach-bmips/dram.c @@ -28,7 +28,7 @@ int dram_init(void) return 0; }
- debug("SDRAM base=%zx, size=%x\n", ram.base, ram.size); + debug("SDRAM base=%zx, size=%" PRIx64 "\n", ram.base, ram.size);
gd->ram_size = ram.size;
--
2.1.4