summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
index b5de592c2b..b5b9ae1713 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
@@ -1882,6 +1882,9 @@ int Init_DRAM(DRAM_DRAM_TYPE_T dram_type, DRAM_CBT_MODE_EXTERN_T dram_cbt_mode_e
ett_fix_freq = 1; /* only 1600 & 4266 */
#endif
+ if (CONFIG(MEDIATEK_DRAM_DVFS_LIMIT_FREQ_CNT))
+ ett_fix_freq = 0x1; // 4266, 1600
+
if (ett_fix_freq != 0xff)
gAndroid_DVFS_en = FALSE;