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

Wolfgang Denk wd at denx.de
Mon Apr 12 20:50:16 CEST 2010


Dear Timur Tabi,

In message <4BC366DE.1000808 at freescale.com> you wrote:
>
> I guess my objection that I think the whole idea is stupid doesn't count for much?  I'll do it if Wolfgang insists, but I honestly believe that there was no confusion and that the introduction of KiB and its ilk just makes things worse, not better.  No 
> one is going to compare memory sizes in kilobytes with distances in kilometers and get confused.

Well, there _is_ a lot of confusion

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.

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...

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
All your people must learn before you can reach for the stars.
	-- Kirk, "The Gamesters of Triskelion", stardate 3259.2


More information about the U-Boot mailing list