hocclk: fix auto ram oc on erista
This commit is contained in:
@@ -301,7 +301,7 @@ namespace clockManager {
|
|||||||
return true;
|
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 ramHz = gContext.freqs[HocClkModule_MEM];
|
||||||
u32 threshold = (u32)config::GetConfigValue(HocClkConfigValue_AutoRamCpuRamOCThreshold) * 1000;
|
u32 threshold = (u32)config::GetConfigValue(HocClkConfigValue_AutoRamCpuRamOCThreshold) * 1000;
|
||||||
if (ramHz >= threshold) {
|
if (ramHz >= threshold) {
|
||||||
|
|||||||
Reference in New Issue
Block a user