summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-03-02 20:50:17 +0100
committerAnatolij Gustschin <agust@denx.de>2018-03-06 10:22:37 +0100
commit5fba532954fe0363bcaa802ba4990e9466dc7d8c (patch)
tree898bfa38be08d1d9eae49ae50c297af37c9f5c41
parent19f124d8295f17f23bc4b6d050f96b9d9d651d9f (diff)
downloadu-boot-5fba532954fe0363bcaa802ba4990e9466dc7d8c.tar.gz
video: indicate code page of bitmap fonts
Add comments clarifying that the bitmap fonts support code page 437. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--drivers/video/vidconsole-uclass.c2
-rw-r--r--include/video_font_4x6.h4
-rw-r--r--include/video_font_data.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c
index 6f3988d49e..5553d629b9 100644
--- a/drivers/video/vidconsole-uclass.c
+++ b/drivers/video/vidconsole-uclass.c
@@ -13,7 +13,7 @@
#include <dm.h>
#include <video.h>
#include <video_console.h>
-#include <video_font.h> /* Get font data, width and height */
+#include <video_font.h> /* Bitmap font for code page 437 */
/*
* Structure to describe a console color
diff --git a/include/video_font_4x6.h b/include/video_font_4x6.h
index 6aeed092ad..64c5ed2eda 100644
--- a/include/video_font_4x6.h
+++ b/include/video_font_4x6.h
@@ -1,5 +1,5 @@
-/* Hand composed "Minuscule" 4x6 font, with binary data generated using
- * Perl stub.
+/* Hand composed "Minuscule" 4x6 font for code page 437, with binary data
+ * generated using Perl stub.
*
* Use 'perl -x mini_4x6.c < mini_4x6.c > new_version.c' to regenerate
* binary data.
diff --git a/include/video_font_data.h b/include/video_font_data.h
index 346a162f56..d52526a63c 100644
--- a/include/video_font_data.h
+++ b/include/video_font_data.h
@@ -3,6 +3,8 @@
* Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
*
* SPDX-License-Identifier: GPL-2.0+
+ *
+ * This file contains an 8x16 bitmap font for code page 437.
*/
#ifndef _VIDEO_FONT_DATA_