Nick Vaccaro has submitted this change. ( https://review.coreboot.org/c/coreboot/+/56906 )
Change subject: soc/mediatek: revise the dependency of DVFS config options ......................................................................
soc/mediatek: revise the dependency of DVFS config options
The MEDIATEK_DRAM_DVFS_LIMIT_FREQ_CNT only makes sense if DVFS is enabled (e.g., MEDIATEK_DRAM_DVFS) so we should change it to depend on that instead of selecting DVFS.
Signed-off-by: Rex-BC Chen rex-bc.chen@mediatek.com Change-Id: Ib81e4e48e863616ed1e36cd5c0000f4e2cfb5456 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56906 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Yu-Ping Wu yupingso@google.com --- M src/soc/mediatek/common/Kconfig M src/soc/mediatek/mt8192/Kconfig 2 files changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Yu-Ping Wu: Looks good to me, approved
diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig index 7411e48..ab24617 100644 --- a/src/soc/mediatek/common/Kconfig +++ b/src/soc/mediatek/common/Kconfig @@ -17,7 +17,7 @@ config MEDIATEK_DRAM_DVFS_LIMIT_FREQ_CNT bool default y - select MEDIATEK_DRAM_DVFS + depends on MEDIATEK_DRAM_DVFS help This options limit DRAM frequency calibration count from total 7 to 3, other frequency will directly use the low frequency shu result. diff --git a/src/soc/mediatek/mt8192/Kconfig b/src/soc/mediatek/mt8192/Kconfig index 21dcc7c..94e4bd3 100644 --- a/src/soc/mediatek/mt8192/Kconfig +++ b/src/soc/mediatek/mt8192/Kconfig @@ -10,6 +10,7 @@ select HAVE_DEBUG_RAM_SETUP select HAVE_UART_SPECIAL select SOC_MEDIATEK_COMMON + select MEDIATEK_DRAM_DVFS
if SOC_MEDIATEK_MT8192