]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fix debug prints for tiny printf
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 2 Nov 2018 20:49:52 +0000 (21:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 9 Nov 2018 15:44:50 +0000 (10:44 -0500)
commit30c0740e79cd71d42e606e6c29e6746c7837be80
treeaa4cf86a366a4c2fd4d2acfa93e80539cfa68875
parent84ee59a5fd79f90b69e3992ecd5ff765e17806b2
spl: fix debug prints for tiny printf

Tiny printf does not support %.*s and %lX. Since tiny printf should
be very common in SPL, replace these by %32s (for printing image
name) and %lx.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c