Skip to content
Snippets Groups Projects
Commit 2a3a96ca authored by Kumar Gala's avatar Kumar Gala
Browse files

powerpc/85xx: Add recognition of e5500 core

parent f2d9a5da
No related branches found
No related tags found
No related merge requests found
...@@ -95,18 +95,26 @@ int checkcpu (void) ...@@ -95,18 +95,26 @@ int checkcpu (void)
minor = PVR_MIN(pvr); minor = PVR_MIN(pvr);
printf("Core: "); printf("Core: ");
switch (fam) { if (PVR_FAM(PVR_85xx)) {
case PVR_FAM(PVR_85xx): switch(PVR_MEM(pvr)) {
puts("E500"); case 0x1:
break; case 0x2:
default: puts("E500");
puts("Unknown"); break;
break; case 0x3:
puts("E500MC");
break;
case 0x4:
puts("E5500");
break;
default:
puts("Unknown");
break;
}
} else {
puts("Unknown");
} }
if (PVR_MEM(pvr) == 0x03)
puts("MC");
printf(", Version: %d.%d, (0x%08x)\n", major, minor, pvr); printf(", Version: %d.%d, (0x%08x)\n", major, minor, pvr);
get_sys_info(&sysinfo); get_sys_info(&sysinfo);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment