Skip to content
Snippets Groups Projects
Commit fe901f2d authored by Simon Glass's avatar Simon Glass Committed by Albert ARIBAUD
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarStefan Roese <sr@denx.de>
parent 2cb06a4f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment