Fix Lite500B support: Merge with /home/raj/git/u-boot.l5200b_pci
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user