]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: pxe_utils: sysboot: replace cls command by video_clear in PXE parser
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 22 Mar 2022 16:08:43 +0000 (17:08 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 11 Apr 2022 15:39:19 +0000 (11:39 -0400)
commitbdd9638101a84e5c36f33aefef6f4b7f5dce3081
tree98b3623b7480f44b8a3e6ee57a295e0ad9d61e29
parent8daf49b354f61f4607f722e2a130cb26c35451d0
cmd: pxe_utils: sysboot: replace cls command by video_clear in PXE parser

Since the commit f91baba71248 ("cmd: add serial console support
for the cls command") the cls command is not enough to clear the
video display when ANSI console is activated.

This patch clears the video device with the video_clear() API
before to display the bitmap used for the PXE background.

This patch avoids to display the LOGO, activated by default with
commit a23576f5d481 ("video: Show the U-Boot logo by default").

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
boot/pxe_utils.c