]> git.baikalelectronics.ru Git - uboot.git/commit
video: Provide a way to clear part of the console
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2023 16:22:33 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:54:50 +0000 (12:54 -0400)
commit8efed94da608d5169dbdcfa81bae33ec3e6c908b
tree8cf7f25b649e2b23fa3dbdc2e7c6114d397c6303
parent7f020f2e79f9c9388f1cff4b231ffc057eaaaf58
video: Provide a way to clear part of the console

This is useful when the background colour must be written before text
is updated, to avoid strange display artifacts.

Add a function for this, using the existing code from the truetype
console.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/console_truetype.c
drivers/video/video-uclass.c
include/video.h