[PATCH v3 6/9] video console: allow font size configuration at runtime

Simon Glass sjg at chromium.org
Thu Feb 16 00:49:57 CET 2023


On Wed, 15 Feb 2023 at 04:43, Dzmitry Sankouski <dsankouski at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
> Changes for v2: N/A
> Changes for v3:
> - move 8x16 font patch extracted
> - implement multiple fonts patch extracted
> - add static modifiers, where needed
> - remove list fonts operation
> - put fontdata in local var
>
>  cmd/Kconfig                    |  8 ++++++++
>  cmd/Makefile                   |  2 +-
>  drivers/video/Kconfig          |  1 +
>  drivers/video/console_simple.c | 30 ++++++++++++++++++++++++++++++
>  4 files changed, 40 insertions(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list