diff options
author | Simon Glass <sjg@chromium.org> | 2023-10-16 16:28:10 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-18 19:13:43 -0400 |
commit | fdad709004ef23920cf7b00ab4cda43d367875f3 (patch) | |
tree | 4b57fb5eca497ad87dbf3f41f7e3b2a0139c6373 | |
parent | d6725100773b33a8853a7946163d60a410b636fb (diff) | |
download | u-boot-fdad709004ef23920cf7b00ab4cda43d367875f3.zip u-boot-fdad709004ef23920cf7b00ab4cda43d367875f3.tar.gz u-boot-fdad709004ef23920cf7b00ab4cda43d367875f3.tar.bz2 |
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 <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Changes in v4:
- Rework to have the command itself be default y if CONSOLE_TRUETYPE
instead of selecting it. (Tom)
-rw-r--r-- | cmd/Kconfig | 2 | ||||
-rw-r--r-- | drivers/video/Kconfig | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 9b7c784..872cb49 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2349,7 +2349,7 @@ config CMD_VIDCONSOLE config CMD_SELECT_FONT bool "select font size" depends on VIDEO - default n + 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 ab92764..6f319ba 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. |