]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: zimage: Improve command-line debug handling
authorSimon Glass <sjg@chromium.org>
Sun, 24 Jan 2021 17:06:09 +0000 (10:06 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2021 07:33:25 +0000 (15:33 +0800)
commit06c085c0d2a1ae33b1772d04dec9b1f66af12f14
treef46984be14b1438aca171897fc5eb968c280c0f3
parent577c4ad0550825fa94c44ebca23523f05faecf17
x86: zimage: Improve command-line debug handling

At present if the command line is very long it is truncated by the
printf() statement, which works within a limited buffer. Use puts()
instead. Also show better debugging with the command-line setup
fails.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c