Dear Stefano Babic, In message <1363248561-11974-1-git-send-email-sba...@denx.de> you wrote: > > 2GB can not fit in 32-bits, so use ulong instead.
<nitpick> unsigned long is 32 bits, too. And, strictly speaking, GB is a decimal unit, so 2 GB = 2e9 = 0x77359400 which fits nicely into a signed 32 bit number. What you actually mean is: 2 GiB cannot be expressed as a 32 bit signed number. </nitpick> Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Of all the things I've lost, I miss my mind the most. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot