On 14/03/2013 14:48, Eric Nelson wrote: > On 03/14/2013 02:38 AM, Stefano Babic wrote: >> On 13/03/2013 23:49, Eric Nelson wrote: >> >>>> Yes, but I used (ulong) instead. >>>> >>>> Would it be OK? >>>> >>> >>> Works for me... >>> >>> Note that Troy wanted to see DDR_MB expressed as bytes instead, >>> which would have solved the overflow problem. >> >> Ok, I sent also a fix, but I will wait for Troy's patch. >> > > Troy wasn't planning a patch. > > His comments were verbal and I may have convinced him that > it is easier to understand and validate correctness of > DDR_MB=1024 > than > DDR_SIZE=1073741824 > > And I don't think anyone will be building an i.MX6-based > board whose RAM size isn't an even multiple of a megabyte.
Ok, understood. I will apply Fabio's patch, then. Regards, 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: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot