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

Timur Tabi timur at freescale.com
Fri Apr 9 22:27:47 CEST 2010


Wolfgang Denk wrote:
> Dear Timur Tabi,
> 
> In message <1269990179-23666-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.
>>
>> Signed-off-by: Timur Tabi <timur at freescale.com>
>> ---
>>  include/common.h              |    2 +-
>>  lib_generic/display_options.c |    2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> Hm... if we go so far, we should probably also prepare for bigger
> prefixes, like printing TB ?

I suppose.  The purpose behind my patch was only to allow 32-bit systems to report when the board has 8GB of DDR.  I didn't see much need for anything else.  If you really think it's important, I can post an updated version of the patch.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list