[U-Boot] [PATCH] arm: Don't use printf() in SPL builds

Stefan Roese sr at denx.de
Mon May 7 14:28:49 CEST 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.

Simon (or anybody else), what was the outcome of this patch discussion? Is it 
still pending for mainline inclusion? I'm asking since it fixes a problem 
(image too big) with the SPEAr SPL support which I'm currently rebasing for 
submission.

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