summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-01-12 14:50:35 +0100
committerWolfgang Denk <wd@denx.de>2009-01-12 14:50:35 +0100
commita9f3acbcd07da72b5446ce557531a3ed8b8beff0 (patch)
treea3c728993cc1abbb00db3d8c286050f45913997c /cpu/mpc86xx
parent950309c6436ff78d2166377da34bfdb0ae00a4a4 (diff)
downloadu-boot-imx-a9f3acbcd07da72b5446ce557531a3ed8b8beff0.zip
u-boot-imx-a9f3acbcd07da72b5446ce557531a3ed8b8beff0.tar.gz
u-boot-imx-a9f3acbcd07da72b5446ce557531a3ed8b8beff0.tar.bz2
MPC86xx: fix build warnings
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc86xx')
-rw-r--r--cpu/mpc86xx/cpu.c2
-rw-r--r--cpu/mpc86xx/fdt.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 3568023..dc53bee 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -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);
}
diff --git a/cpu/mpc86xx/fdt.c b/cpu/mpc86xx/fdt.c
index e277040..383b06b 100644
--- a/cpu/mpc86xx/fdt.c
+++ b/cpu/mpc86xx/fdt.c
@@ -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)