]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video console: move 8x16 font data in named header
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 7 Mar 2023 10:21:13 +0000 (13:21 +0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 7 Mar 2023 12:26:08 +0000 (13:26 +0100)
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>
include/video_font.h
include/video_font_8x16.h [moved from include/video_font_data.h with 99% similarity]

index 5e23f70f859f0d60f191ecf5e0a045d62febedc9..b07c07662cb1bd6a754f6e36d156e4ee641b8165 100644 (file)
@@ -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_ */
similarity index 99%
rename from include/video_font_data.h
rename to include/video_font_8x16.h
index 6e64198d1a405f243defa953b10ff94c65171cdc..d3d429503208973a43d641be66ac63a89efb8c61 100644 (file)
@@ -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