]> git.baikalelectronics.ru Git - uboot.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)
commitf91baba71248a433974aeb46cf69f8f448efd76b
treef83aa065792738968db5bea8ff89567d4fba94bd
parent2e4cf85af46f5614e12080ef866b408f1635c505
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