From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 10 Nov 2011 23:36:38 +0100 Subject: [U-Boot] [PATCH V5 3/4] font: split font data from video_font.h In-Reply-To: <1319187862-31863-4-git-send-email-clchiou@chromium.org> References: <1319187862-31863-1-git-send-email-clchiou@chromium.org> <1319187862-31863-4-git-send-email-clchiou@chromium.org> Message-ID: <20111110233638.2965e749@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 21 Oct 2011 17:04:21 +0800 Che-Liang Chiou 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 > --- > > 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