Skip to content
Snippets Groups Projects
Commit 66312374 authored by Simon Glass's avatar Simon Glass
Browse files

dm: Add a panic_str() function to reduce code size


The printf() in panic() adds about 1.5KB of code size to SPL when compiled
with Thumb-2. Provide a smaller version that does not support printf()-style
arguments and use it in two commonly compiled places.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 7f9875e7
No related branches found
No related tags found
No related merge requests found
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