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

Stefan Roese sr at denx.de
Thu Jul 9 06:57:26 CEST 2009


On Thursday 09 July 2009 00:27:38 Scott Wood wrote:
> What would break?  If things would no longer fit where they currently
> fit, that could happen on any change that increases code size --
> possibly even just by changing compilers (this exact thing happened to
> the NAND bootstrap on some boards with very recent GCC).  That's life,
> and IMHO it is not reasonable to arbitrarily block changes that fix bugs
> because of the theoretical possibility that it might push someone's size
> over the limit.
>
> A quick grep shows several instances of %ll/%L in other places that may
> not be obvious to the board maintainer (cmd_mmc, ubi, disk/part_efi,
> cpu/mpc8xxx/ddr, lmb, disk/part, cmd_ide, reiserfs).  Boards that use
> those without 64-bit printf are broken *right now*.

Correct. And these problems are not easily spotted since you usually don't 
expect that "simple things" like a printf format are not working.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list