mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00

This needed for unit testing different fonts. Configured fonts are placed in an array of fonts. First font is selected by default upon console probe. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> [agust: fixed build error when bmp logo disabled] Signed-off-by: Anatolij Gustschin <agust@denx.de>
29 lines
602 B
C
29 lines
602 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2000
|
|
* Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
|
|
*/
|
|
|
|
#ifndef _VIDEO_FONT_
|
|
#define _VIDEO_FONT_
|
|
|
|
#include <video_font_data.h>
|
|
|
|
#if defined(CONFIG_VIDEO_FONT_4X6)
|
|
#include <video_font_4x6.h>
|
|
#endif
|
|
#if defined(CONFIG_VIDEO_FONT_8X16)
|
|
#include <video_font_8x16.h>
|
|
#endif
|
|
|
|
static struct video_fontdata __maybe_unused fonts[] = {
|
|
#if defined(CONFIG_VIDEO_FONT_8X16)
|
|
FONT_ENTRY(8, 16, 8x16),
|
|
#endif
|
|
#if defined(CONFIG_VIDEO_FONT_4X6)
|
|
FONT_ENTRY(4, 6, 4x6),
|
|
#endif
|
|
{/* list terminator */}
|
|
};
|
|
|
|
#endif /* _VIDEO_FONT_ */
|