author | Che-Liang Chiou <clchiou@chromium.org> | |
Thu, 20 Oct 2011 23:04:20 +0000 (23:04 +0000) | ||
committer | Anatolij Gustschin <agust@denx.de> | |
Tue, 15 Nov 2011 22:58:26 +0000 (23:58 +0100) | ||
commit | c270730f580e85ddab82e981abf8a518f78ae803 | |
tree | 7f21f57ea70f8629a7c3339a8690dc04645b109b | tree | snapshot (tar.xz tar.gz zip) |
parent | 02110903a83539da35cf6b1bbd853ce0351f7c95 | commit | diff |
tools: logo: split bmp arrays from bmp_logo.h
The generated header bmp_logo.h is useful even outside common/lcd.c for
the logo dimension. However, the problem is, the generated bmp_logo.h
cannot be included multiple times because bmp_logo_palette[] and
bmp_logo_bitmap[] are defined in the bmp_logo.h.
This patch fixes this by defining these arrays in another header
bmp_logo_data.h and in bmp_logo.h only declaring these arrays.
Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
The generated header bmp_logo.h is useful even outside common/lcd.c for
the logo dimension. However, the problem is, the generated bmp_logo.h
cannot be included multiple times because bmp_logo_palette[] and
bmp_logo_bitmap[] are defined in the bmp_logo.h.
This patch fixes this by defining these arrays in another header
bmp_logo_data.h and in bmp_logo.h only declaring these arrays.
Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Makefile | diff | blob | history | |
common/lcd.c | diff | blob | history | |
drivers/video/cfb_console.c | diff | blob | history | |
include/.gitignore | diff | blob | history | |
tools/Makefile | diff | blob | history | |
tools/bmp_logo.c | diff | blob | history |