
14 Mar
2013
14 Mar
'13
2:48 p.m.
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.
Regards,
Eric