Skip to contentSkip to conversation

MPC86xx: fix build warnings

PATCH New Wolfgang Denk 1 participant 1 message Jan 12, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MPC86xx: fix build warnings

---
 cpu/mpc86xx/cpu.c |    2 +-
 cpu/mpc86xx/fdt.c |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
cpu/mpc86xx/cpu.c +1 -1
index 3568023..dc53bee 100644
@@ -101,7 +101,7 @@ checkcpu(void)
 	if (sysinfo.freqLocalBus > LCRR_CLKDIV) {
 		printf("LBC:%4lu MHz\n", sysinfo.freqLocalBus / 1000000);
 	} else {
-		printf("LBC: unknown (LCRR[CLKDIV] = 0x%02x)\n",
+		printf("LBC: unknown (LCRR[CLKDIV] = 0x%02lx)\n",
 		       sysinfo.freqLocalBus);
 	}
 
cpu/mpc86xx/fdt.c +0 -2
index e277040..383b06b 100644
@@ -13,8 +13,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-DECLARE_GLOBAL_DATA_PTR;
-
 void ft_cpu_setup(void *blob, bd_t *bd)
 {
 #if (CONFIG_NUM_CPUS > 1)
Signature · 1 line
1.6.0.6