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/mt8192/include/soc/pmif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/mediatek/mt8192/include') diff --git a/src/soc/mediatek/mt8192/include/soc/pmif.h b/src/soc/mediatek/mt8192/include/soc/pmif.h index 4e2c40fda9..30432d935b 100644 --- a/src/soc/mediatek/mt8192/include/soc/pmif.h +++ b/src/soc/mediatek/mt8192/include/soc/pmif.h @@ -127,7 +127,7 @@ check_member(mtk_pmif_regs, swinf_0_acc, 0xC00); #define PMIF_SPI_AP_CHAN (PMIF_SPI_BASE + 0xC80) enum { - FREQ_260MHZ = 260, + PMIF_TARGET_FREQ_MHZ = 260, }; /* calibation tolerance rate, unit: 0.1% */ -- cgit v1.2.3