projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
950309c
)
MPC86xx: fix build warnings
author
Wolfgang Denk
<wd@denx.de>
Mon, 12 Jan 2009 13:50:35 +0000
(14:50 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 12 Jan 2009 13:50:35 +0000
(14:50 +0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/mpc86xx/cpu.c
patch
|
blob
|
history
cpu/mpc86xx/fdt.c
patch
|
blob
|
history
diff --git
a/cpu/mpc86xx/cpu.c
b/cpu/mpc86xx/cpu.c
index 35680238d2ec6a7ed13ef895b4218a2975311dd8..dc53bee588d46dc10a9fa3f51f4602666e347f7c 100644
(file)
--- 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%02
l
x)\n",
sysinfo.freqLocalBus);
}
diff --git
a/cpu/mpc86xx/fdt.c
b/cpu/mpc86xx/fdt.c
index e277040bb4c45bf28d2253eaf5336c3b58b7b1d1..383b06b5ae61e4bbea0a65d63a5aa0eaa211650e 100644
(file)
--- 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)