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

Wolfgang Denk wd at denx.de
Mon Apr 12 19:59:32 CEST 2010


Dear Timur Tabi,

In message <x2ped82fe3e1004120912u313a0c4du533a91f292ceaccc at mail.gmail.com> you wrote:
> On Fri, Apr 9, 2010 at 3:40 PM, Wolfgang Denk <wd at denx.de> wrote:
> 
> > If we make this change, we can probably use this function as well to
> > print the size of storage devices like NAND, USB Mass Storage, hard
> > disk drives, etc. =A0Eventually we can clean up some pieces of code
> > then...
> 
> 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?

H[iy]st[oe]ric reasons, probably.

We should use standardized names now, i. e. GiB, MiB, KiB, etc.

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
Madness takes its toll. Please have exact change.


More information about the U-Boot mailing list