u-boot/tools
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
..
bddb Update Hymod Board Database PHP code in "tools" directory 2005-08-12 23:27:18 +02:00
easylogo easylogo: clean up some more and add -r (rgb) support 2008-02-22 12:07:39 +01:00
env Fix compile problem with new env code. 2008-01-09 09:51:14 +01:00
gdb Coding style cleanup 2006-10-09 00:42:01 +02:00
logos Initial revision 2001-11-03 22:15:16 +00:00
scripts make define2mk.sed work on FreeBSD 2008-02-22 21:27:01 +01:00
updater disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:19:50 -05:00
.gitignore Add MD5 support to the new uImage format 2008-03-14 16:22:34 +01:00
bmp_logo.c Fix tools/bmp_logo.c using incorrect offset to pixel data 2005-09-25 15:39:00 +02:00
envcrc.c crc32: use uint32_t rather than unsigned long 2008-04-24 13:18:17 +02:00
fdt_host.h [new uImage] Add libfdt support to mkimage 2008-02-29 16:00:24 +01:00
gen_eth_addr.c Initial revision 2001-09-06 22:25:14 +00:00
img2brec.sh Fix file permissions 2005-07-21 11:22:21 +02:00
img2srec.c * Code cleanup: 2003-06-27 21:31:46 +00:00
inca-swap-bytes.c * Patch by Arun Dharankar, 4 Apr 2003: 2003-04-05 00:53:31 +00:00
Makefile crc32: use uint32_t rather than unsigned long 2008-04-24 13:18:17 +02:00
Makefile.win32 Initial revision 2001-04-02 19:55:34 +00:00
mkimage.c [new uImage] Add support for new uImage format to mkimage tool 2008-03-11 12:34:47 +01:00
mkimage.h [new uImage] Add support for new uImage format to mkimage tool 2008-03-11 12:34:47 +01:00
mpc86x_clk.c * Patch by Anders Larsen, 18 Sep 2003: 2003-10-08 22:14:02 +00:00
ncb.c * Patch by Detlev Zundel, 08 Sep 2004: 2004-09-08 22:03:11 +00:00
setlocalversion Add support for u-boot in svn and localversion-* files 2008-04-18 10:08:31 -07:00
ubsha1.c Coding style cleanup; update CHANGELOG. 2007-07-10 00:01:28 +02:00