soc/mediatek: revise the dependency of DVFS config options
commit909f2d04a0c86b6d3464a6cc4e48048e31b2b6ad
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Tue, 10 Aug 2021 08:17:09 +0000 (10 16:17 +0800)
committerNick Vaccaro <nvaccaro@google.com>
Thu, 12 Aug 2021 17:58:21 +0000 (12 17:58 +0000)
treef9eef9f5d0774233e2cf500c00ab08c646116e6a
parentb6f6e01bcb8561628af122f2b84c67e53cdc5545
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>
src/soc/mediatek/common/Kconfig
src/soc/mediatek/mt8192/Kconfig