summaryrefslogtreecommitdiff
path: root/drivers/video/console_truetype.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-15 01:10:43 (GMT)
committerAnatolij Gustschin <agust@denx.de>2016-01-30 09:55:57 (GMT)
commit84b4791ada7754b65fd200002f92ac8684c2b5ec (patch)
tree1a3db715f86533be61f9804832df503442fe5b55 /drivers/video/console_truetype.c
parenta29b012037cc454ec811dbcd29a3aeffe59d86bc (diff)
downloadu-boot-fsl-qoriq-84b4791ada7754b65fd200002f92ac8684c2b5ec.tar.xz
video: Add the Nimbus sans font
This provides a good-looking font for user prompts. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/console_truetype.c')
-rw-r--r--drivers/video/console_truetype.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c
index b770ad4..46c5205 100644
--- a/drivers/video/console_truetype.c
+++ b/drivers/video/console_truetype.c
@@ -444,7 +444,12 @@ struct font_info {
.end = __ttf_ ## _name ## _end, \
}
+FONT_DECL(nimbus_sans_l_regular);
+
static struct font_info font_table[] = {
+#ifdef CONFIG_CONSOLE_TRUETYPE_NIMBUS
+ FONT_ENTRY(nimbus_sans_l_regular),
+#endif
{} /* sentinel */
};