]> git.baikalelectronics.ru Git - uboot.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)
commitf9d7f289df9ab82591cf322a37bb56223a5bb775
treef46984be14b1438aca171897fc5eb968c280c0f3
parent5c021ad72ef48a9f35beab9af8e7963a56c77772
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