]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: at91: Adjust vidconsole_position_cursor() to use char pos
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:47 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commit9949ee876dc585d198a0fd4790a21e9a2332201f
treedad48129deb7f11564de4b31a714ebb909d0323e
parent751fed426f87204517df14de76762461cd2a4203
video: at91: Adjust vidconsole_position_cursor() to use char pos

At present this function uses pixels but it seems more useful for it to
position in terms of characters on the screen. This also matches the
comment to the function. Update this.

Unfortunately there is one user of this function (at91). Have a crack at
fixing this, since I cannot test it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
board/atmel/common/video_display.c
drivers/video/vidconsole-uclass.c