u-boot/lib_generic
Mike Frysinger 89cdab788f crc32: use uint32_t rather than unsigned long
The envcrc.c does sizeof(unsigned long) when calculating the crc, but
this is done with the build toolchain instead of the target tool
chain, so if the build is a 64bit system but the target is 32bits,
the size will obviously be wrong. This converts all unsigned long
stuff related to crc32 to uint32_t types. Compile tested only: output
of ./tools/envcrc when run on a 32bit build system matches that of a
64bit build system.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-24 13:18:17 +02:00
..
Makefile Add the MD5 algorithm 2008-03-14 16:22:34 +01:00
bzlib.c [new uImage] Move gunzip() common code to common/gunzip.c 2008-02-07 01:12:55 +01:00
bzlib_crctable.c Patch by Yuli Barcohen, 14 Aug 2003: 2003-08-29 20:57:53 +00:00
bzlib_decompress.c * Patch by Pantelis Antoniou, 14 Sep 2004: 2004-10-11 22:43:02 +00:00
bzlib_huffman.c * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
bzlib_private.h * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
bzlib_randtable.c Patch by Yuli Barcohen, 14 Aug 2003: 2003-08-29 20:57:53 +00:00
crc32.c crc32: use uint32_t rather than unsigned long 2008-04-24 13:18:17 +02:00
ctype.c Initial revision 2000-07-19 14:09:16 +00:00
display_options.c [PATCH 3_9] Move buffer print code from md command to common function 2007-02-20 09:05:00 +01:00
div64.c Move 64bit division from avr32 to generic lib 2007-08-10 10:33:34 +02:00
ldiv.c * Code cleanup: 2003-06-27 21:31:46 +00:00
lmb.c [new uImage] Introduce lmb from linux kernel for memory mgmt of boot images 2008-02-29 13:15:55 +01:00
md5.c Rename include/md5.h to include/u-boot/md5.h 2008-04-13 17:02:51 -07:00
sha1.c Coding style cleanup; update CHANGELOG. 2007-07-10 00:01:28 +02:00
string.c Scheduled for removal: strnicmp() which is unused 2006-05-03 01:00:39 +02:00
vsprintf.c Fix 64-bit vsprintf. 2008-01-12 00:31:01 +01:00
zlib.c * Code cleanup: 2003-06-27 21:31:46 +00:00