mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
[v1.01] Add Google Tensor (reported by #134)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user