hoc-sys: fix tdp

This commit is contained in:
souldbminersmwc
2025-10-28 16:34:11 -04:00
parent a14f4932af
commit 3fa281f8a5
8 changed files with 105 additions and 35 deletions

View File

@@ -465,6 +465,7 @@ SysClkSocType Board::GetSocType() {
return g_socType;
}
void Board::FetchHardwareInfos()
{
u64 sku = 0;
@@ -478,9 +479,14 @@ void Board::FetchHardwareInfos()
switch(sku)
{
case 2 ... 5:
case 2:
case 3:
case 5:
g_socType = SysClkSocType_Mariko;
break;
case 4:
g_socType = SysClkSocType_MarikoLite;
break;
default:
g_socType = SysClkSocType_Erista;
}