summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8188')
-rw-r--r--src/soc/mediatek/mt8188/include/soc/pmif.h2
-rw-r--r--src/soc/mediatek/mt8188/pmif_clk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8188/include/soc/pmif.h b/src/soc/mediatek/mt8188/include/soc/pmif.h
index 39737ce659..c22a77399b 100644
--- a/src/soc/mediatek/mt8188/include/soc/pmif.h
+++ b/src/soc/mediatek/mt8188/include/soc/pmif.h
@@ -134,7 +134,7 @@ struct mtk_clk_monitor_regs {
#define mtk_clk_monitor ((struct mtk_clk_monitor_regs *)EFUSE_BASE + 0x45C)
enum {
- FREQ_260MHZ = 260,
+ PMIF_TARGET_FREQ_MHZ = 260,
};
/* calibation tolerance rate, unit: 0.1% */
diff --git a/src/soc/mediatek/mt8188/pmif_clk.c b/src/soc/mediatek/mt8188/pmif_clk.c
index 9756f99d1a..bac37b9fc2 100644
--- a/src/soc/mediatek/mt8188/pmif_clk.c
+++ b/src/soc/mediatek/mt8188/pmif_clk.c
@@ -116,7 +116,7 @@ static int pmif_init_ulposc(void)
SET32_BITFIELDS(&mtk_spm->ulposc_con, ULPOSC_CG_EN, 1);
udelay(50);
- return pmif_ulposc_cali(FREQ_260MHZ);
+ return pmif_ulposc_cali(PMIF_TARGET_FREQ_MHZ);
}
int pmif_clk_init(void)