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

Timur Tabi timur at freescale.com
Mon Apr 12 18:21:04 CEST 2010


Nick Thompson wrote:

> To differentiate from "K", which means 1000, rather than 1024.

I don't think that's correct.  I understand the 1000/1024 debate, but my understanding is that

KB = 1000 bytes
KiB = 1024 bytes

(personally, I think the whole kibi-byte thing is stupid, and we should just say that K=1024 when talking about memory sizes, but whatever)

I've never seen K=1000 and k=1024.  Then why don't we do "mB" instead of MB?  By your logical, M=1000000 and m=1048576


-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list