From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 28 May 2015 09:24:32 -0400 Subject: [U-Boot] meminfo cmd: Enable printing >=4GiB SDRAM sizes In-Reply-To: <1432297814-16527-1-git-send-email-andrew@bradfordembedded.com> References: <1432297814-16527-1-git-send-email-andrew@bradfordembedded.com> Message-ID: <20150528132432.GL8007@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, May 22, 2015 at 08:30:14AM -0400, Andrew Bradford wrote: > From: Andrew Bradford > > 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 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: