commit | 509dbf9f9a221fa842a420c78b28de2e330d8fd2 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Feb 27 22:06:32 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 23 09:05:52 2015 -0600 |
tree | 2a26f0695511a13329ca8469fcadfcf417003f79 | |
parent | 8914c8a04eb376c581d673a58633cec1f61cabcd [diff] |
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: Simon Glass <sjg@chromium.org>