]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: video: Allow selection of rotated console
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2020 03:12:15 +0000 (21:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commitc936c0b61c794506cc5ee00d6b51602e327d669b
tree50e934b50de01d6b77687268e1561678842a44d0
parent2a3b32a33d471d2fe9aec012cacf41a69efeb754
sandbox: video: Allow selection of rotated console

Add a devicetree property to select a rotated console. This uses the same
encoding as vidconsole itself: 0=normal; 1=90 degrees clockwise, 2=upside
down, 3=90 degrees anticlockwise.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/video/sandbox_sdl.c