]> git.dujemihanovic.xyz Git - u-boot.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)
commit6a2ea434ea9f38fff6b133b5b8cc4db302a1a84c
tree50e934b50de01d6b77687268e1561678842a44d0
parent8b763dfdeebc2eb9c23e00a26aa3872b90958ba3
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