[PATCH 1/1] cmd: command `font` should depend on CONSOLE_TRUETYPE

Simon Glass sjg at chromium.org
Wed Dec 31 20:30:44 CET 2025


Hi Heinrich,

On Wed, 31 Dec 2025 at 07:16, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> The font command is not usable without CONSOLE_TRUETYPE.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  cmd/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index b71ac554c0b..b5b03eb5363 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -2649,8 +2649,8 @@ config CMD_VIDCONSOLE
>
>  config CMD_SELECT_FONT
>         bool "select font size"
> -       depends on VIDEO
> -       default y if CONSOLE_TRUETYPE
> +       depends on CONSOLE_TRUETYPE
> +       default y
>         help
>           Enabling this will provide 'font' command.
>           Allows font selection at runtime.
> --
> 2.51.0
>

It should be possible to change between bitmap fonts if you enable
multiple ones.

Regards,
Simon


More information about the U-Boot mailing list