[U-Boot] [PATCH 4/9] MIPS: use PRIx64 macros for printing ram size
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Thu Jul 26 13:59:46 UTC 2018
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 at 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
More information about the U-Boot
mailing list