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

Wolfgang Denk wd at denx.de
Fri Apr 9 22:40:56 CEST 2010


Dear Timur Tabi,

In message <4BBF8DC3.4090408 at freescale.com> you wrote:
>
> > 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.

If we make this change, we can probably use this function as well to
print the size of storage devices like NAND, USB Mass Storage, hard
disk drives, etc.  Eventually we can clean up some pieces of code
then...

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
Only in our dreams we are free.  The rest of the time we need  wages.
                                    - Terry Pratchett, _Wyrd Sisters_


More information about the U-Boot mailing list