[U-Boot] meminfo cmd: Enable printing >=4GiB SDRAM sizes

Tom Rini trini at konsulko.com
Thu May 28 15:24:32 CEST 2015


On Fri, May 22, 2015 at 08:30:14AM -0400, Andrew Bradford wrote:

> From: Andrew Bradford <andrew.bradford at kodakalaris.com>
> 
> 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 at kodakalaris.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150528/c00cd0f0/attachment.sig>


More information about the U-Boot mailing list