hocclk: fix auto ram oc on erista

This commit is contained in:
souldbminersmwc committed 2026-05-29 16:21:52 -04:00
1 parent aaa8ec1881
commit a8b43a650d
1 file changed
+1 -1
@@ -301,7 +301,7 @@ namespace clockManager {
return true;
}
if (config::GetConfigValue(HocClkConfigValue_AutoRAMCPUOverclock) && !isBoost && !governor::isCpuGovernorEnabled) {
if (config::GetConfigValue(HocClkConfigValue_AutoRAMCPUOverclock) && !isBoost && !governor::isCpuGovernorEnabled && (board::GetSocType() == HocClkSocType_Mariko)) {
u32 ramHz = gContext.freqs[HocClkModule_MEM];
u32 threshold = (u32)config::GetConfigValue(HocClkConfigValue_AutoRamCpuRamOCThreshold) * 1000;
if (ramHz >= threshold) {