diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-04-06 10:42:23 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-04-06 10:42:23 +0200 |
commit | 9bc97a3d91bf3287b593afa2a5b9e3bb07c9de5c (patch) | |
tree | 3e46eb2fb0da23629dc00c034d2083b54d49f38e /cpu | |
parent | 71b405df4e8efc0d6ac3b308d15e74eaa029eb5c (diff) | |
parent | b66a9383421805c705654ce9456ec28c202819fb (diff) | |
download | u-boot-imx-9bc97a3d91bf3287b593afa2a5b9e3bb07c9de5c.zip u-boot-imx-9bc97a3d91bf3287b593afa2a5b9e3bb07c9de5c.tar.gz u-boot-imx-9bc97a3d91bf3287b593afa2a5b9e3bb07c9de5c.tar.bz2 |
Fix Lite500B support: Merge with /home/raj/git/u-boot.l5200b_pci
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc5xxx/cpu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu/mpc5xxx/cpu.c b/cpu/mpc5xxx/cpu.c index 563d5af..5ad4baa 100644 --- a/cpu/mpc5xxx/cpu.c +++ b/cpu/mpc5xxx/cpu.c @@ -38,7 +38,7 @@ int checkcpu (void) ulong clock = gd->cpu_clk; char buf[32]; #ifndef CONFIG_MGT5100 - uint svr; + uint svr, pvr; #endif puts ("CPU: "); @@ -47,7 +47,8 @@ int checkcpu (void) puts (CPU_ID_STR); printf (" (JTAG ID %08lx)", *(vu_long *)MPC5XXX_CDM_JTAGID); #else - svr = get_svr (); + svr = get_svr(); + pvr = get_pvr(); switch (SVR_VER (svr)) { case SVR_MPC5200: printf ("MPC5200"); @@ -57,11 +58,10 @@ int checkcpu (void) break; } - printf (" v%d.%d", SVR_MJREV (svr), SVR_MNREV (svr)); + printf (" v%d.%d, Core v%d.%d", SVR_MJREV (svr), SVR_MNREV (svr), + PVR_MAJ(pvr), PVR_MIN(pvr)); #endif - printf (" at %s MHz\n", strmhz (buf, clock)); - return 0; } |