]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: add serial console support for the cls command
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 11 Feb 2022 17:11:05 +0000 (18:11 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 12 Mar 2022 11:27:07 +0000 (12:27 +0100)
commitbfaa51dd4adf59c1b304399381401bfb58ed4099
treef83aa065792738968db5bea8ff89567d4fba94bd
parent589c659035a44a683b087fd75fe0b7667f7be7f5
cmd: add serial console support for the cls command

Currently the cls command does not support the serial console

The screen can be cleared in the video uclass, the colored frame buffer
console, and the serial console by sending the same escape sequence.
This reduces the cls command to a single printf() statement on most
boards.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/cls.c