[PATCH v3 19/32] video: Dont require the font command

Tom Rini trini at konsulko.com
Tue Oct 17 16:07:41 CEST 2023


On Mon, Oct 16, 2023 at 04:28:10PM -0600, Simon Glass wrote:
> While it is nice to have the font command, using 'select' makes it
> impossible to build the console code without it. Change this to use
> 'imply' instead.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> (no changes since v1)
> 
>  drivers/video/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index ab927641bb7a..21ea5c860cca 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -180,7 +180,7 @@ config CONSOLE_ROTATION
>  
>  config CONSOLE_TRUETYPE
>  	bool "Support a console that uses TrueType fonts"
> -	select CMD_SELECT_FONT
> +	imply CMD_SELECT_FONT
>  	help
>  	  TrueTrype fonts can provide outline-drawing capability rather than
>  	  needing to provide a bitmap for each font and size that is needed.

This is one of those cases where "if CMDLINE" makes sense to add
somewhere.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231017/674bd5fa/attachment.sig>


More information about the U-Boot mailing list