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

Wolfgang Denk wd at denx.de
Wed May 5 22:18:00 CEST 2010


Dear Timur Tabi,

In message <1271182563-17615-2-git-send-email-timur at freescale.com> you wrote:
> 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 at freescale.com>
> ---
>  include/common.h      |    2 +-
>  lib/display_options.c |   31 ++++++++++++++++++-------------
>  2 files changed, 19 insertions(+), 14 deletions(-)

Applied, thanks.

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
The years of peak mental activity are undoubtedly between the ages of
four and eighteen. At four we know all the questions, at eighteen all
the answers.


More information about the U-Boot mailing list