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)
commite6fe02a5715b3dc02fe4041c4f5a59099a711d70
tree98b3623b7480f44b8a3e6ee57a295e0ad9d61e29
parent7ab3364c6d1c17b8ee6da523d5729b0248ba63bf
cmd: pxe_utils: sysboot: replace cls command by video_clear in PXE parser

Since the commit bfaa51dd4adf ("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 7a8555d87136 ("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