projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Fix problem with ECC ordering for PPC4xx NDFC platforms
[oweals/u-boot.git]
/
cpu
/
mcf523x
/
cpu.c
diff --git
a/cpu/mcf523x/cpu.c
b/cpu/mcf523x/cpu.c
index 1ce90fd15efb953eaf06ce2d1136356b3266af2b..a1a51336c23f765a2e3a3292407a6d1ee922c79d 100644
(file)
--- a/
cpu/mcf523x/cpu.c
+++ b/
cpu/mcf523x/cpu.c
@@
-60,11
+60,13
@@
int checkcpu(void)
}
if (id) {
}
if (id) {
+ char buf1[32], buf2[32];
+
printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk,
ver);
printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk,
ver);
- printf(" CPU CLK %
d Mhz BUS CLK %d Mh
z\n",
-
(int)(gd->cpu_clk / 1000000
),
-
(int)(gd->bus_clk / 1000000
));
+ printf(" CPU CLK %
s MHz BUS CLK %s MH
z\n",
+
strmhz(buf1, gd->cpu_clk
),
+
strmhz(buf2, gd->bus_clk
));
}
return 0;
}
return 0;