summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorAndrew Bradford <andrew.bradford@kodakalaris.com>2015-05-22 08:30:14 -0400
committerTom Rini <trini@konsulko.com>2015-05-28 08:18:21 -0400
commitea11b401b5ca10b5991e7c65832cfb7db54996c1 (patch)
tree01703e6963a3205b9abec0c9d69e3cd7af2c18e1 /include/common.h
parent3bc37b6d65c856a90ad7389b7a216f5a83164f83 (diff)
downloadu-boot-imx-ea11b401b5ca10b5991e7c65832cfb7db54996c1.zip
u-boot-imx-ea11b401b5ca10b5991e7c65832cfb7db54996c1.tar.gz
u-boot-imx-ea11b401b5ca10b5991e7c65832cfb7db54996c1.tar.bz2
meminfo cmd: Enable printing >=4GiB SDRAM sizes
gd->ram_size is stored as phys_size_t type which can be bigger than an unsigned long on some architectures. When using unsigned long type, SDRAM of 4GiB or larger will not print the correct size, but using phys_size_t will. Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index d4d704a..ea5aeb0 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