[U-Boot] Question: is SZ_* going to be removed or not?

Wolfgang Denk wd at denx.de
Wed Jan 26 10:43:34 CET 2011


Dear =?ISO-8859-1?Q?Eric_B=E9nard?=,

In message <4D3FE967.7050708 at eukrea.com> you wrote:
>
> so what is the recommended way to write size ?

In a readable way.

If you need 2k, write it as 2000 or 2*1000 or similar.

If you need 2 Ki, write it as 2048 or 2*1024 or (2 << 10) or similar.


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: wd at denx.de
Q:  What's a light-year?
A:  One-third less calories than a regular year.


More information about the U-Boot mailing list