From 37d4d7ab11ed669ba6a37adafad97e473cd341a9 Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Wed, 20 Nov 2024 15:41:57 +0800 Subject: soc/mediatek: Rename FREQ_*MHZ to PMIF_TARGET_FREQ_MHZ Enum is useful for improving readability because of the meaningful enum names. Names such as "FREQ_260MHZ = 260", however, don't provide any extra information of the value itself. Therefore, rename those enums to PMIF_TARGET_FREQ_MHZ to better reflect its usage. Change-Id: I420b909a76973a040b96feb2bcb93d3640b086b5 Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/85204 Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/soc/mediatek/mt8195/include/soc/pmif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/mediatek/mt8195/include') diff --git a/src/soc/mediatek/mt8195/include/soc/pmif.h b/src/soc/mediatek/mt8195/include/soc/pmif.h index 7ee9531917..cec23d7ca1 100644 --- a/src/soc/mediatek/mt8195/include/soc/pmif.h +++ b/src/soc/mediatek/mt8195/include/soc/pmif.h @@ -137,7 +137,7 @@ check_member(mtk_scp_regs, scp_clk_on_ctrl, 0x6C); #define mtk_scp ((struct mtk_scp_regs *)SCP_CFG_BASE + 0x21000) enum { - FREQ_248MHZ = 248, + PMIF_TARGET_FREQ_MHZ = 248, }; /* calibation tolerance rate, unit: 0.1% */ -- cgit v1.2.3