summaryrefslogtreecommitdiffstats
path: root/tools/bmp_logo.c
Commit message (Collapse)AuthorAgeFilesLines
* 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