summaryrefslogtreecommitdiffstats
path: root/tools/bmp_logo.c
Commit message (Collapse)AuthorAgeFilesLines
* tools, bmp_logo: fix index from uint16_t to int to allow bigger logosHeiko Schocher2013-08-101-1/+1
| | | | | | | | | when generating the bmp_logo_bitmap, the index is casted as an uint16_t. So bigger logos as 65535 bytes are converted wrong Fix this. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Anatolij Gustschin <agust@denx.de>
* tools: logo: split bmp arrays from bmp_logo.hChe-Liang Chiou2011-11-151-20/+60
| | | | | | | | | | | | | | 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>
* compiler.h: unify system ifdef cruft hereMike Frysinger2009-07-191-12/+1
| | | | | | | | | | | Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* bmp_logo: Check return value of fread()Peter Tyser2009-04-281-13/+22
| | | | | | | | | | | | Add basic error handling to fread() function calls. This prevents compililation warnings such as: bmp_logo.c: In function ‘main’: bmp_logo.c:71: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result ... Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Fix tools/bmp_logo.c using incorrect offset to pixel dataWolfgang Denk2005-09-251-2/+8
| | | | Patch by Andrew Dyer, 31 Jan 2005
* * Clean up tools/bmp_logo.c to not add trailing white spacewdenk2004-10-091-15/+3
| | | | | | | * Patch by Hinko Kocevar, 21 Aug 2004: - Group common framebuffer functions in common/lcd.c - Group common framebuffer macros and #defines in include/lcd.h - Provide calc_fbsize() for video ATAG
* * Fix parameter passing to standalone images with bootm commandwdenk2003-10-301-5/+0
| | | | | | | | | | * Patch by Kyle Harris, 30 Oct 2003: Fix build errors for ixdp425 board * Patch by David M. Horn, 29 Oct 2003: Fixes to build under CYGWIN * Get IceCube MGT5100 working (again)
* * Code cleanup:wdenk2003-06-271-3/+2
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* Initial revisionwdenk2002-03-141-0/+177
OpenPOWER on IntegriCloud