[U-Boot] [PATCH 08/11] video: Add small 4x6 font from Linux

Anatolij Gustschin agust at denx.de
Mon Aug 12 22:44:13 CEST 2013


On Tue, 30 Jul 2013 23:37:58 +0200
Marek Vasut <marex at denx.de> wrote:

> This font is based on Linux drivers/video/console/font_mini_4x6.c as of commit:
> 
> commit bcfbeecea11c15e243f076d37d637c2598aff4fe
> Author: Bjarni Ingi Gislason <bjarniig at rhi.hi.is>
> Date:   Sun Aug 12 15:05:10 2012 +0000
> 
>     drivers: console: font_: Change a glyph from "broken bar" to "vertical line"
> 
> I removed these lines as they are useless in U-Boot:
>   #include <linux/font.h>
>   #define FONTDATAMAX 1536
>   Whole "const struct font_desc font_mini_4x6" block
> 
> This patch also adds a new configuration option to select this smaller font,
> CONFIG_VIDEO_FONT_4X6 , but this is disabled by default. The default setting
> is the regular "large" font.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Anatolij Gustschin <agust at denx.de>
> ---
>  include/video_font.h     |    4 +
>  include/video_font_4x6.h | 2154 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 2158 insertions(+)
>  create mode 100644 include/video_font_4x6.h

Applied to u-boot-video/master. Thanks!

Anatolij


More information about the U-Boot mailing list