[U-Boot] [PATCH] ColdFire: Remove compiler warning messages

TsiChung Liew tsicliew at gmail.com
Wed Jul 8 09:45:44 CEST 2009


Remove unused variables and printf type mismatch in
lib_m68k/board.c

Signed-off-by: TsiChung Liew <tsicliew at gmail.com>
---
 lib_m68k/board.c |   2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib_m68k/board.c b/lib_m68k/board.c
index db45b00..a570b15 100644
--- a/lib_m68k/board.c
+++ b/lib_m68k/board.c
@@ -532,7 +528,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)
-- 
1.5.6.4



More information about the U-Boot mailing list