From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 7 May 2012 14:28:49 +0200 Subject: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds In-Reply-To: <1330806795-20763-1-git-send-email-sjg@chromium.org> References: <1330806795-20763-1-git-send-email-sjg@chromium.org> Message-ID: <201205071428.49576.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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