]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Update normal console to support copy buffer
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2020 03:12:24 +0000 (21:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commit68f3fc767c33694d63f1dbaef5ff1b0a4cb27d43
tree6b8f329b1c2e2ada813a9b2e531fafcf724ed106
parent8c0b5d268d36b0d152bad343503e74056617ab43
video: Update normal console to support copy buffer

Update the implementation to keep a track of what it changes in the frame
buffer and then tell the copy buffer about it. Use the special
vidconsole_memmove() helper so that memmove() operations are also
reflected in the copy buffer.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/video/console_normal.c