summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDzmitry Sankouski <dsankouski@gmail.com>2023-03-07 13:21:13 +0300
committerAnatolij Gustschin <agust@denx.de>2023-03-07 15:26:08 +0300
commit0e177d5a95c020c6d7a0d4294de5c7f34f5bf664 (patch)
tree6f56930c3743c8f2101dd1e03db59e8be42ccbd6
parent02db4ec9027889ee1c0933740c6766a4b6e14b98 (diff)
downloadu-boot-0e177d5a95c020c6d7a0d4294de5c7f34f5bf664.tar.xz
video console: move 8x16 font data in named header
Consistent font data header names needed to add new fonts. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/video_font.h2
-rw-r--r--include/video_font_8x16.h (renamed from include/video_font_data.h)5
2 files changed, 3 insertions, 4 deletions
diff --git a/include/video_font.h b/include/video_font.h
index 5e23f70f85..b07c07662c 100644
--- a/include/video_font.h
+++ b/include/video_font.h
@@ -10,7 +10,7 @@
#ifdef CONFIG_VIDEO_FONT_4X6
#include <video_font_4x6.h>
#else
-#include <video_font_data.h>
+#include <video_font_8x16.h>
#endif
#endif /* _VIDEO_FONT_ */
diff --git a/include/video_font_data.h b/include/video_font_8x16.h
index 6e64198d1a..d3d4295032 100644
--- a/include/video_font_data.h
+++ b/include/video_font_8x16.h
@@ -6,8 +6,8 @@
* This file contains an 8x16 bitmap font for code page 437.
*/
-#ifndef _VIDEO_FONT_DATA_
-#define _VIDEO_FONT_DATA_
+#ifndef _VIDEO_FONT_8X16
+#define _VIDEO_FONT_8X16
#define VIDEO_FONT_CHARS 256
#define VIDEO_FONT_WIDTH 8
@@ -4623,7 +4623,6 @@ static unsigned char __maybe_unused video_fontdata[VIDEO_FONT_SIZE] = {
0x00, /* 00000000 */
0x00, /* 00000000 */
0x00, /* 00000000 */
-
};
#endif