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)
commit0ab4f91a107832692781a367a1ef2173af75f108
tree8cf7f25b649e2b23fa3dbdc2e7c6114d397c6303
parent7432f68c53526980d0a2b2ffd54fe61141bb1178
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