]> git.dujemihanovic.xyz Git - u-boot.git/commit
video console: move vidconsole_get_font_size() logic to driver ops
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 7 Mar 2023 10:21:15 +0000 (13:21 +0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 7 Mar 2023 14:59:21 +0000 (15:59 +0100)
commit4f6e34811db5ad0362843803930d1659a24e8da0
tree8a7327313e4383b1fe27bf1ad4cd2b902c74fe65
parent39c1fa2c212b8acf15dfbccd7b10c6de93ba88df
video console: move vidconsole_get_font_size() logic to driver ops

Since multiple vidconsole drivers exists, vidconsole_get_font_size()
implementation cannot longer live in vidconsole_uclass.c file.

Move current vidconsole_get_font_size logic to truetype driver ops.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/font.c
drivers/video/console_truetype.c
drivers/video/vidconsole-uclass.c
include/video_console.h
test/cmd/font.c