video console: allow font size configuration at runtime
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 7 Mar 2023 10:21:16 +0000 (13:21 +0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 7 Mar 2023 14:59:35 +0000 (15:59 +0100)
commite7ee1fd567b266214a3a413e76ae5cde84b11cb7
tree8c414c17779e121b08198f66170df4d42e47e7c5
parent4f6e34811db5ad0362843803930d1659a24e8da0
video console: allow font size configuration at runtime

Allow font size configuration at runtime for console_simple.c
driver. This needed for unit testing different fonts.

Configuring is done by `font` command, also used for font
selection in true type console.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/Makefile
drivers/video/Kconfig
drivers/video/console_core.c
drivers/video/console_normal.c
drivers/video/console_rotate.c
drivers/video/vidconsole_internal.h