allow print_size to print large numbers on 32-bit systems
authorTimur Tabi <timur@freescale.com>
Tue, 13 Apr 2010 18:16:03 +0000 (13:16 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 5 May 2010 20:17:34 +0000 (22:17 +0200)
commit4b42c9059e165500353174601a8e97b2cf81d3f4
tree30608de1b0b5314a5320d36dd9c102dc3bf8b324
parent52dbac69c27dee67a4c051b1055d93b0ac4e2062
allow print_size to print large numbers on 32-bit systems

Modify print_size() so that it can accept numbers larger than 4GB on 32-bit
systems.

Add support for display terabyte, petabyte, and exabyte sizes.  Change the
output to use International Electrotechnical Commission binary prefix standard.

Signed-off-by: Timur Tabi <timur@freescale.com>
include/common.h
lib/display_options.c