[U-Boot] [PATCH] arm: Don't use printf() in SPL builds
Stefan Roese
sr at denx.de
Mon Mar 5 09:21:26 CET 2012
On Saturday 03 March 2012 21:33:15 Simon Glass wrote:
> raise() likes to call printf() if it is available, but in SPL builds it
> either is not available, or adds a large chunk to the resulting image
> size.
>
> So don't call it even if it is available.
>
> This change reduces SPL size from 10KB to 6.3KB on hawkboard, for
> example, using generic relocation.
Thanks. I do have a similar patch in my SPEAr600 SPL patch queue where printf
support increases the image size. So:
Acked-by: Stefan Roese <sr at denx.de>
Thanks,
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