From: TsiChung Liew Date: Fri, 12 Jun 2009 13:03:34 +0000 (+0000) Subject: ColdFire: Remove compiler warning messages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=11d88b26a68bd4bf98b1c962fde6257a50978231;p=project%2Fbcm63xx%2Fu-boot.git ColdFire: Remove compiler warning messages Remove unused variables and printf type mismatch in lib_m68k/board.c Signed-off-by: TsiChung Liew --- diff --git a/lib_m68k/board.c b/lib_m68k/board.c index 7d4ffc779c..ec7f0186c1 100644 --- a/lib_m68k/board.c +++ b/lib_m68k/board.c @@ -535,7 +535,7 @@ void board_init_r (gd_t *id, ulong dest_addr) */ s = getenv ("flashchecksum"); if (s && (*s == 'y')) { - printf (" CRC: %08lX", + printf (" CRC: %08X", crc32 (0, (const unsigned char *) CONFIG_SYS_FLASH_BASE, flash_size)