hocclk: add missing code and small change to overlay

This commit is contained in:
souldbminersmwc
2026-05-09 16:54:39 -04:00
parent c4f7f0e713
commit c12b0136f8
2 changed files with 4 additions and 1 deletions

View File

@@ -189,7 +189,8 @@ namespace clockManager {
for (u32 f = kPcvStep; f <= kMax && gFreqTable[module].count < HOCCLK_FREQ_LIST_MAX; f += kStep) {
if (f % kPcvStep != 0) {
if (!middleFreqs) continue;
if (!config::GetConfigValue(HocClkConfigValue_MarikoMiddleFreqs))
continue;
*hz = f;
gFreqTable[module].count++;
hz++;