diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-04-30 15:26:21 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2007-05-01 12:08:36 -0500 |
commit | 54b2d434ae9d01787936f34fe1759cf3d7624ae3 (patch) | |
tree | e70026ee0436509f2723e166e016d5f837a89d96 /cpu/mpc83xx/cpu.c | |
parent | 5c5d3242935cf3543af01142627494434834cf98 (diff) | |
download | u-boot-imx-54b2d434ae9d01787936f34fe1759cf3d7624ae3.zip u-boot-imx-54b2d434ae9d01787936f34fe1759cf3d7624ae3.tar.gz u-boot-imx-54b2d434ae9d01787936f34fe1759cf3d7624ae3.tar.bz2 |
mpc83xx: replace elaborate boottime verbosity with 'clocks' command
and fix CPU: to align with Board: display text.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'cpu/mpc83xx/cpu.c')
-rw-r--r-- | cpu/mpc83xx/cpu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c index 332afaa..e078f27 100644 --- a/cpu/mpc83xx/cpu.c +++ b/cpu/mpc83xx/cpu.c @@ -52,7 +52,7 @@ int checkcpu(void) immr = (immap_t *)CFG_IMMR; - puts("CPU: "); + puts("CPU: "); switch (pvr & 0xffff0000) { case PVR_E300C1: @@ -158,10 +158,12 @@ int checkcpu(void) /* Multiple revisons of 834x processors may have the same SPRIDR value. * So use PVR to identify the revision number. */ - printf("Rev: %02x at %s MHz\n", PVR_MAJ(pvr)<<4 | PVR_MIN(pvr), strmhz(buf, clock)); + printf("Rev: %02x at %s MHz", PVR_MAJ(pvr)<<4 | PVR_MIN(pvr), strmhz(buf, clock)); #else - printf("Rev: %02x at %s MHz\n", spridr & 0x0000FFFF, strmhz(buf, clock)); + printf("Rev: %02x at %s MHz", spridr & 0x0000FFFF, strmhz(buf, clock)); #endif + printf(", CSB: %4d MHz\n", gd->csb_clk / 1000000); + return 0; } |