[U-Boot] [PATCH V5 3/4] font: split font data from video_font.h

Anatolij Gustschin agust at denx.de
Thu Nov 10 23:36:38 CET 2011


On Fri, 21 Oct 2011 17:04:21 +0800
Che-Liang Chiou <clchiou at chromium.org> wrote:

> While video_font.h is useful even without referencing the font data, it
> is not possible to be included multiple times because it defines font
> data array right in the header.
> 
> This patch splits the font data array into video_font_data.h and so now
> video_font.h can be included multiple times.  This at least solves the
> code duplication in board/mcc200/lcd.c.
> 
> Signed-off-by: Che-Liang Chiou <clchiou at chromium.org>
> ---
> 
> Changes in V5
>   Split font arrays from video_font.h to video_font_data.h
> 
>  arch/powerpc/cpu/mpc8xx/video.c |    1 +
>  board/mcc200/lcd.c              |    4 +-
>  common/lcd.c                    |    1 +
>  drivers/video/cfb_console.c     |    1 +
>  drivers/video/sed156x.c         |    1 +
>  include/video_font.h            | 4614 +--------------------------------------
>  include/video_font_data.h       | 4639 +++++++++++++++++++++++++++++++++++++++
>  7 files changed, 4647 insertions(+), 4614 deletions(-)
>  create mode 100644 include/video_font_data.h

Applied to u-boot-video/master, thanks.

Anatolij


More information about the U-Boot mailing list