mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
[v1.05][ARM] Fix to match Kirin SoCs
This commit is contained in:
@@ -171,6 +171,10 @@ bool match_google(char* soc_name, struct system_on_chip* soc) {
|
|||||||
bool match_hisilicon(char* soc_name, struct system_on_chip* soc) {
|
bool match_hisilicon(char* soc_name, struct system_on_chip* soc) {
|
||||||
char* tmp;
|
char* tmp;
|
||||||
|
|
||||||
|
if((tmp = strstr(soc_name, "hi")) != NULL);
|
||||||
|
else if((tmp = strstr(soc_name, "kirin")) != NULL);
|
||||||
|
else return false;
|
||||||
|
|
||||||
soc->soc_vendor = SOC_VENDOR_KIRIN;
|
soc->soc_vendor = SOC_VENDOR_KIRIN;
|
||||||
|
|
||||||
SOC_START
|
SOC_START
|
||||||
|
|||||||
Reference in New Issue
Block a user