Re: [U-Boot-Users] [PATCH v3] crc32: use uint32_t rather than unsigned long

2008-04-24 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > On Monday 31 March 2008, Mike Frysinger wrote: > > The envcrc.c does sizeof(unsigned long) when calculating the crc, but this > > is done with the build toolchain instead of the target toolchain, so if the > > build is a 64bit system but the target is

Re: [U-Boot-Users] [PATCH v3] crc32: use uint32_t rather than unsigned long

2008-04-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:02 Mon 31 Mar , Mike Frysinger wrote: > The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is > done with the build toolchain instead of the target toolchain, so if the build > is a 64bit system but the target is 32bits, the size will obviously be wrong. > This co

Re: [U-Boot-Users] [PATCH v3] crc32: use uint32_t rather than unsigned long

2008-04-22 Thread Mike Frysinger
On Monday 31 March 2008, Mike Frysinger wrote: > The envcrc.c does sizeof(unsigned long) when calculating the crc, but this > is done with the build toolchain instead of the target toolchain, so if the > build is a 64bit system but the target is 32bits, the size will obviously > be wrong. This conv

[U-Boot-Users] [PATCH v3] crc32: use uint32_t rather than unsigned long

2008-03-31 Thread Mike Frysinger
The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is done with the build toolchain instead of the target toolchain, 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 uint3