[v1.01] Add Google Tensor (reported by #134)

This commit is contained in:
Dr-Noob
2021-12-17 22:38:07 +01:00
parent 40b13bc60c
commit 27a0c42190
5 changed files with 56 additions and 26 deletions

View File

@@ -18,7 +18,8 @@ static char* soc_trademark_string[] = {
[SOC_VENDOR_KIRIN] = "Kirin ",
[SOC_VENDOR_BROADCOM] = "Broadcom BCM",
[SOC_VENDOR_APPLE] = "Apple ",
[SOC_VENDOR_ALLWINNER] = "Allwinner "
[SOC_VENDOR_ALLWINNER] = "Allwinner ",
[SOC_VENDOR_GOOGLE] = "Google "
};
static char* soc_rpi_string[] = {
@@ -513,6 +514,12 @@ bool match_special(char* soc_name, struct system_on_chip* soc) {
return true;
}
// Google Pixel 6 uses this name
if((tmp = strstr(soc_name, "oriole")) != NULL) {
fill_soc(soc, "Tensor", SOC_GOOGLE_TENSOR, 5);
return true;
}
return false;
}