diff options
author | Rob Clark | 2017-09-13 18:12:21 -0400 |
---|---|---|
committer | Anatolij Gustschin | 2017-09-29 17:53:21 +0200 |
commit | a085aa1f2737baf60d322296f02c066ee3c6a53e (patch) | |
tree | 8bc7a47f5cc1ac717f0dc230e13ec4c7ddc49ad7 /include/video.h | |
parent | 889808da9b78d193e5a117a6bf6bc9366d6a3f30 (diff) |
dm: video: Add basic ANSI escape sequence support
Really just the subset that is needed by efi_console. Perhaps more will
be added later, for example color support would be useful to implement
efi_cout_set_attribute().
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video.h')
-rw-r--r-- | include/video.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h index 5b4e78b1825..61ff6531215 100644 --- a/include/video.h +++ b/include/video.h @@ -115,6 +115,13 @@ struct video_ops { int video_reserve(ulong *addrp); /** + * video_clear() - Clear a device's frame buffer to background color. + * + * @dev: Device to clear + */ +void video_clear(struct udevice *dev); + +/** * video_sync() - Sync a device's frame buffer with its hardware * * Some frame buffers are cached or have a secondary frame buffer. This |