]> git.sur5r.net Git - u-boot/commitdiff
ColdFire: Remove compiler warning messages
authorTsiChung Liew <tsicliew@gmail.com>
Fri, 12 Jun 2009 13:03:34 +0000 (13:03 +0000)
committerTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Tue, 14 Jul 2009 14:27:24 +0000 (09:27 -0500)
Remove unused variables and printf type mismatch in
lib_m68k/board.c

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
lib_m68k/board.c

index 7d4ffc779c4c094b46a1f403a94bfad56d0c5778..ec7f0186c1a91d8a7bceb1c18df189cab5262814 100644 (file)
@@ -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)