]> git.dujemihanovic.xyz Git - u-boot.git/commit
common/image.c: Use correct suffixes for binary sizes
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Wed, 4 Jan 2017 13:04:44 +0000 (14:04 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2017 20:37:59 +0000 (15:37 -0500)
commitcec85d4e002d9b6aa0f98bec50e9fa09dd013cdd
treece1f7da1f87714f4cbc5df898c480600557a11a7
parentd3e8f63026fa37dc09dcfd803df81e5452f87df9
common/image.c: Use correct suffixes for binary sizes

IEC 80000-13:2008 Quantities and units
Part 13: Information science and technology

defines the prefixes to use for binary multiples.

So instead of writing
Data Size:    6726132 Bytes = 6568.49 kB = 6.41 MB
in dumpimage we should write
Data Size:    6726132 Bytes = 6568.49 KiB = 6.41 MiB.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
common/image.c