[U-Boot] [PATCH] ppc4xx: Enable support for 64bit printf on all PPC4xx variants

Wolfgang Denk wd at denx.de
Wed Jul 8 23:24:01 CEST 2009


Dear Scott Wood,

In message <4A550B66.1090506 at freescale.com> you wrote:
>
> Note that the overhead of 64-bit printf (assuming the 64-bit 
> divide/remainder functions in libgcc aren't pulled in for anything else) 
>   is 2524 bytes on powerpc (using GCC 4.3.2).  That's less than NFS, 
> which gets turned on by default (as was brought up recently). :-)

But compare the functionality...

> What if we were to invert the option (CONFIG_SYS_NO_64BIT_VSPRINTF) so 
> that it would only be disabled on boards at the intersection of tight 
> space constraints and a board maintainer who's pretty sure this board 
> doesn't need it?  There could also be some warning from printf() if %ll 
> is used when not supported, and/or it could still check for %ll and pop 
> a long long from the varargs but discard the high half.

And by default we would add CONFIG_SYS_NO_64BIT_VSPRINTF to all board
config files?

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
There is is no reason for any individual to have a computer in  their
home.      -- Ken Olsen (President of Digital Equipment Corporation),
              Convention of the World Future Society, in Boston, 1977


More information about the U-Boot mailing list