]> git.sur5r.net Git - u-boot/commit
arm: Don't use printf() in SPL builds
authorSimon Glass <sjg@chromium.org>
Sat, 3 Mar 2012 20:33:15 +0000 (12:33 -0800)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:43 +0000 (14:07 +0200)
commitfe901f2d9bd09292a67e562b8c96a1a496004c9e
tree25bc4e0f7ad48356b45b7e4fff03625b5e5c602d
parent2cb06a4fda4e7a88c734adaec9eeb5059e50f76b
arm: Don't use printf() in SPL builds

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.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stefan Roese <sr@denx.de>
arch/arm/lib/eabi_compat.c