summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/cmd_mem.c2
-rw-r--r--include/common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 2e85d53dd2..43c3fb62bf 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -1325,7 +1325,7 @@ U_BOOT_CMD(
#endif
#ifdef CONFIG_CMD_MEMINFO
-__weak void board_show_dram(ulong size)
+__weak void board_show_dram(phys_size_t size)
{
puts("DRAM: ");
print_size(size, "\n");
diff --git a/include/common.h b/include/common.h
index d4d704a6af..ea5aeb0014 100644
--- a/include/common.h
+++ b/include/common.h
@@ -274,7 +274,7 @@ __weak int arch_reserve_stacks(void);
*
* @param size Size of DRAM (which should be displayed along with other info)
*/
-void board_show_dram(ulong size);
+void board_show_dram(phys_size_t size);
/**
* arch_fixup_fdt() - Write arch-specific information to fdt
OpenPOWER on IntegriCloud