video console: add 16x32 Terminus font from linux

Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Dzmitry Sankouski 2023-02-27 20:37:08 +03:00 committed by Anatolij Gustschin
parent e24db8645f
commit 0d6c089f84
3 changed files with 2075 additions and 0 deletions

View File

@ -38,6 +38,13 @@ config VIDEO_FONT_SUN12X22
Provides character bitmap data in header file.
When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
config VIDEO_FONT_16X32
bool "16 x 32 font size"
help
Font for video console driver, 16 x 32 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

View File

@ -18,6 +18,9 @@
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
#include <video_font_sun12x22.h>
#endif
#if defined(CONFIG_VIDEO_FONT_16X32)
#include <video_font_ter16x32.h>
#endif
static struct video_fontdata __maybe_unused fonts[] = {
#if defined(CONFIG_VIDEO_FONT_8X16)
@ -28,6 +31,9 @@ static struct video_fontdata __maybe_unused fonts[] = {
#endif
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
FONT_ENTRY(12, 22, 12x22),
#endif
#if defined(CONFIG_VIDEO_FONT_16X32)
FONT_ENTRY(16, 32, 16x32),
#endif
{/* list terminator */}
};

File diff suppressed because it is too large Load Diff