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

Timur Tabi timur at freescale.com
Mon Apr 12 21:10:59 CEST 2010


Wolfgang Denk wrote:
> For example, how big is (ummm: was) a standard 3.5" floppy disk?
> 
> 1.44 MB, right?
> 
> Well, actually it's 1474560 bytes, or 1440 * 1024 bytes.
> 
> So this "MB" here is 1000 * 1024 - which is complete nonsense.

This is bad example, because the size of a floppy is neither 1.44MB nor 1.44 MiB.

> Let's use the official standard units, please. We may not like them,
> but at least they will not cause a $125 million Mars orbiter to
> crash...

Alright.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list