]> git.baikalelectronics.ru Git - uboot.git/commit
dm: video: support more escape sequences
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 19 Sep 2018 19:31:48 +0000 (21:31 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 28 Sep 2018 16:25:39 +0000 (18:25 +0200)
commit4969774795e2e78578908c5aa9c1f3b7a160f741
tree762859eddc75af8e3e2d3bd7d3b6208769e0dc5c
parent9cc4a874bd478042bdb1507fa1ac62533fb991ad
dm: video: support more escape sequences

The EFI subsystems needs to know the size of the terminal. If the
environment variable

stdout = serial,vidconsole

this size cannot be read from the video console. So the EFI subsystem
sends escape sequences to read the size. With this patch we get support
for the following escape sequences:

ESC "7" Save cursor position
ESC "8" Restore cursor position

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/video/vidconsole-uclass.c
include/video_console.h