[U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems
Nick Thompson
nick.thompson at ge.com
Mon Apr 12 18:16:24 CEST 2010
On 12/04/10 17:12, Timur Tabi 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. Eventually 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?
>
To differentiate from "K", which means 1000, rather than 1024.
Example Kg = 1000 grammes. kB = 1024 Bytes
Nick
More information about the U-Boot
mailing list