-
- Downloads
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>
Showing
- Makefile 1 addition, 0 deletionsMakefile
- common/lcd.c 1 addition, 0 deletionscommon/lcd.c
- drivers/video/cfb_console.c 1 addition, 0 deletionsdrivers/video/cfb_console.c
- include/.gitignore 1 addition, 0 deletionsinclude/.gitignore
- tools/Makefile 7 additions, 1 deletiontools/Makefile
- tools/bmp_logo.c 60 additions, 20 deletionstools/bmp_logo.c
Loading
Please register or sign in to comment