diff options
author | Dzmitry Sankouski <dsankouski@gmail.com> | 2023-03-07 13:21:14 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2023-03-07 15:57:19 +0100 |
commit | 39c1fa2c212b8acf15dfbccd7b10c6de93ba88df (patch) | |
tree | 799bc6e1d231a7eb93de3ddb6524aa6c9018890b /drivers/video/Kconfig | |
parent | 0e177d5a95c020c6d7a0d4294de5c7f34f5bf664 (diff) | |
download | u-boot-39c1fa2c212b8acf15dfbccd7b10c6de93ba88df.tar.gz u-boot-39c1fa2c212b8acf15dfbccd7b10c6de93ba88df.tar.bz2 u-boot-39c1fa2c212b8acf15dfbccd7b10c6de93ba88df.zip |
video console: implement multiple fonts configuration
This needed for unit testing different fonts.
Configured fonts are placed in an array of fonts.
First font is selected by default upon console probe.
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[agust: fixed build error when bmp logo disabled]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 2a76d19cc8..ce97eb4727 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -16,6 +16,21 @@ config VIDEO if VIDEO +config VIDEO_FONT_4X6 + bool "4 x 6 font size" + help + Font for video console driver, 4 x 6 pixels. + Provides character bitmap data in header file. + When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too. + +config VIDEO_FONT_8X16 + bool "8 x 16 font size" + default y + help + Font for video console driver, 8 x 16 pixels + Provides character bitmap data in header file. + When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too. + config VIDEO_LOGO bool "Show the U-Boot logo on the display" default y if !SPLASH_SCREEN |