mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-04 21:17:45 +01:00
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> |
||
|---|---|---|
| .. | ||
| bddb | ||
| easylogo | ||
| env | ||
| gdb | ||
| logos | ||
| scripts | ||
| updater | ||
| .gitignore | ||
| bmp_logo.c | ||
| envcrc.c | ||
| fdt_host.h | ||
| gen_eth_addr.c | ||
| img2brec.sh | ||
| img2srec.c | ||
| inca-swap-bytes.c | ||
| Makefile | ||
| Makefile.win32 | ||
| mkimage.c | ||
| mkimage.h | ||
| mpc86x_clk.c | ||
| ncb.c | ||
| setlocalversion | ||
| ubsha1.c | ||