]> git.baikalelectronics.ru Git - uboot.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)
commit0d0d8f8d365a6b0d0eccc9efb716bee9e638269d
tree8a7327313e4383b1fe27bf1ad4cd2b902c74fe65
parentc5e009dd7299a17314e1dde9931bf9e9fcac3ae4
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