]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
meminfo cmd: Enable printing >=4GiB SDRAM sizes
authorAndrew Bradford <andrew.bradford@kodakalaris.com>
Fri, 22 May 2015 12:30:14 +0000 (08:30 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:47:09 +0000 (22:47 +0200)
commit90929cbcbe1d8f47d1ae4d50acfea560801bb2c6
tree861e202c64a75e1cd461f2a05f52550d44cb6677
parent5035ab3935358827ae3080747f4acf670dea17cb
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>
common/cmd_mem.c
include/common.h