]> git.sur5r.net Git - u-boot/commit
spl: use panic_str instead of panic
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 4 Dec 2015 22:27:35 +0000 (23:27 +0100)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Dec 2015 00:07:30 +0000 (17:07 -0700)
commit4363de63a88f3e9490cb46ce4c92e7c2d2497ba8
treedc10aa913149753d76818ba095d0c368ad67c85f
parent717f8845ac4b25cfd329d161423622433dfeb990
spl: use panic_str instead of panic

For a simple static string, use panic_str() which prevents calling
printf needlessly.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c