diff options
| author | Tom Rini <trini@ti.com> | 2013-08-21 16:27:47 -0400 |
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-08-21 16:27:47 -0400 |
| commit | 6612ab33956ae09c5ba2fde9c1540b519625ba37 (patch) | |
| tree | b6da2e20793336cf0eed44292edb3b5e7ce88819 /arch/powerpc/cpu/mpc824x/cpu.c | |
| parent | 3fb858891273945ce2238e6d4dac3363a1fb0853 (diff) | |
| parent | b6df9b01fb8c126b212aba92b6523407d3fa60a5 (diff) | |
| download | olio-uboot-2014.01-6612ab33956ae09c5ba2fde9c1540b519625ba37.tar.xz olio-uboot-2014.01-6612ab33956ae09c5ba2fde9c1540b519625ba37.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'arch/powerpc/cpu/mpc824x/cpu.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc824x/cpu.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/cpu/mpc824x/cpu.c b/arch/powerpc/cpu/mpc824x/cpu.c index ee69e495b..eaa4e8707 100644 --- a/arch/powerpc/cpu/mpc824x/cpu.c +++ b/arch/powerpc/cpu/mpc824x/cpu.c @@ -45,12 +45,10 @@ int checkcpu (void) return -1; /* no valid CPU revision info */ } - printf (" at %s MHz:", strmhz (buf, clock)); + printf(" at %s MHz: ", strmhz(buf, clock)); - printf (" %u kB I-Cache", checkicache () >> 10); - printf (" %u kB D-Cache", checkdcache () >> 10); - - puts ("\n"); + print_size(checkicache(), " I-Cache "); + print_size(checkdcache(), " D-Cache\n"); return 0; } |