[U-Boot] [PATCH V3] nitrogen: Use unsigned long to specify the total RAM size

Stefano Babic sbabic at denx.de
Thu Mar 14 09:08:52 CET 2013


On 14/03/2013 09:03, Stefano Babic wrote:
> From: "fabio.estevam at freescale.com" <fabio.estevam at freescale.com>
> 
> When building for the nitrogen boards with 2GB the following warning happens:
> 
> nitrogen6x.c:89:38: warning: integer overflow in expression [-Woverflow]
> 
> 2GB can not fit in 32-bits, so use ulong instead.
> 
> Reported-by: Albert Aribaud <albert.u.boot at aribaud.net>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> Signed-off-by: Stefano Babic <sbabic at denx.de>
> ---
> 

Sorry, discharge this - it is identical to the previous one. I will send
the right one in few minutes.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list