Detect CORTEX A53 and A72 as CORTEXA57
This commit is contained in:
parent
e0b02789ff
commit
0ae5e14923
|
@ -114,8 +114,9 @@ int detect(void)
|
||||||
|
|
||||||
fclose(infile);
|
fclose(infile);
|
||||||
if(cpu_part != NULL && cpu_implementer != NULL) {
|
if(cpu_part != NULL && cpu_implementer != NULL) {
|
||||||
if (strstr(cpu_part, "0xd07") && strstr(cpu_implementer, "0x41"))
|
if (strstr(cpu_implementer, "0x41") &&
|
||||||
return CPU_CORTEXA57;
|
(strstr(cpu_part, "0xd07") || strstr(cpu_part,"0xd08") || strstr(cpu_part,"0xd03") ))
|
||||||
|
return CPU_CORTEXA57; //or compatible A53, A72
|
||||||
else if (strstr(cpu_part, "0x516") && strstr(cpu_implementer, "0x42"))
|
else if (strstr(cpu_part, "0x516") && strstr(cpu_implementer, "0x42"))
|
||||||
return CPU_VULCAN;
|
return CPU_VULCAN;
|
||||||
else if (strstr(cpu_part, "0x0a1") && strstr(cpu_implementer, "0x43"))
|
else if (strstr(cpu_part, "0x0a1") && strstr(cpu_implementer, "0x43"))
|
||||||
|
|
Loading…
Reference in New Issue