[v1.05][ARM] Fix to match Kirin SoCs

This commit is contained in:
Dr-Noob
2024-07-29 19:29:49 +01:00
parent 3e3a42f13b
commit 93d54c3723

View File

@@ -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