diff options
| author | Simon Glass <[email protected]> | 2023-10-26 14:31:18 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-11-07 14:48:51 -0500 |
| commit | d83f4e626597ade57e14f6a1edf65515ca6204bc (patch) | |
| tree | 08c66eee71de535632fff30f635a64378ccef9e1 | |
| parent | 8b888917cae16e690ca0bda68dbcfae62928935d (diff) | |
video: Don't require the font command
While it is nice to have the font command, using 'select' makes it
impossible to build the console code without it. Stop using 'select' and
make it default if CONSOLE_TRUETYPE is enabled when asking the command.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | cmd/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/video/Kconfig | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 5a9346f776a..0ad56f6782f 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2358,6 +2358,7 @@ config CMD_VIDCONSOLE config CMD_SELECT_FONT bool "select font size" depends on VIDEO + default y if CONSOLE_TRUETYPE help Enabling this will provide 'font' command. Allows font selection at runtime. diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index ab927641bb7..6f319ba0d54 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -180,7 +180,6 @@ config CONSOLE_ROTATION config CONSOLE_TRUETYPE bool "Support a console that uses TrueType fonts" - select 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. |
