[U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems

Wolfgang Denk wd at denx.de
Mon Apr 12 20:02:09 CEST 2010


Dear Nick Thompson,

In message <4BC34758.3050706 at ge.com> you wrote:
>
> > I'm working on it now.  I did notice something odd, though.  The
> > strings for sizes are GB, MB, and kB.  Why is the "k" lowercase?
> 
> To differentiate from "K", which means 1000, rather than 1024.
> Example Kg = 1000 grammes. kB = 1024 Bytes

No, that's actually wrong. The official preffix for "kilo" (meaning
1000) is 'k', i. e. 1 kg = 1000 g.

The prefix for 1024 is "Ki".

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
Intel's new motto: United we stand. Divided we fall!


More information about the U-Boot mailing list