[U-Boot] [U-Boot, 2/2] mkimage: Refactor mxsimage to use common crc32 code

Tom Rini trini at ti.com
Mon May 12 22:26:44 CEST 2014


On Tue, May 06, 2014 at 10:46:46AM +1200, Charles Manning wrote:

> mxsimage uses the same crc32 function as pblimage.
> 
> Signed-off-by: Charles Manning <cdhmanning at gmail.com>
> Acked-by: Stefano Babic <sbabic at denx.de>

This introduces warnings:
tools/mxsimage.c: In function ‘sb_build_command_load’:
tools/mxsimage.c:979:2: warning: pointer targets in passing argument 2 of ‘pbl_crc32’ differ in signedness [-Wpointer-sign]
tools/pbl_crc32.h:11:10: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
u-boot/tools/mxsimage.c: In function ‘sb_verify_command’:
tools/mxsimage.c:1815:3: warning: pointer targets in passing argument 2 of ‘pbl_crc32’ differ in signedness [-Wpointer-sign]
tools/pbl_crc32.h:11:10: note: expected ‘const char *’ but argument is of type ‘uint8_t *’

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140512/a6caceff/attachment.pgp>


More information about the U-Boot mailing list