summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorPrafulla Wadaskar <prafulla@marvell.com>2009-08-16 05:28:19 +0530
committerWolfgang Denk <wd@denx.de>2009-09-10 22:58:47 +0200
commit449609f5b11cce6beba7338bc4ce0f3345376a0b (patch)
treefbd7ebc0d4fda407692ed35ada300ce89fe9a3c3 /include/common.h
parent14821d7dea8d7209f2457c3179fa6551c088ba71 (diff)
downloadu-boot-imx-449609f5b11cce6beba7338bc4ce0f3345376a0b.zip
u-boot-imx-449609f5b11cce6beba7338bc4ce0f3345376a0b.tar.gz
u-boot-imx-449609f5b11cce6beba7338bc4ce0f3345376a0b.tar.bz2
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>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index 35f12c0..f7c93bf 100644
--- a/include/common.h
+++ b/include/common.h
@@ -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 */