mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
tools: mkimage: Fixed build warnings
uninitialized retval variable warning fixed crc32 APIs moved to crc.h (newly added) and build warnings fixed Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
14821d7dea
commit
449609f5b1
3 changed files with 43 additions and 10 deletions
|
@ -624,9 +624,7 @@ int vsprintf(char *buf, const char *fmt, va_list args);
|
|||
char * strmhz(char *buf, long hz);
|
||||
|
||||
/* lib_generic/crc32.c */
|
||||
uint32_t crc32 (uint32_t, const unsigned char *, uint);
|
||||
uint32_t crc32_wd (uint32_t, const unsigned char *, uint, uint);
|
||||
uint32_t crc32_no_comp (uint32_t, const unsigned char *, uint);
|
||||
#include <u-boot/crc.h>
|
||||
|
||||
/* common/console.c */
|
||||
int console_init_f(void); /* Before relocation; uses the serial stuff */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue