aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2023-02-21 17:24:54 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-02-23 12:14:47 +0000
commitc071652a4e6ad8deb319663f400fd46cf9114947 (patch)
treede9bc98924513fee10eb0a53879676c5e7a7da18 /src/soc/mediatek/common
parent52e5756ea8fb094ea3e438ad3e30cc4112c6de65 (diff)
soc/mediatek: Add "DRAM" to Kconfig MEDIATEK_BLOB_FAST_INIT name
In the current Kconfig option MEDIATEK_BLOB_FAST_INIT, the meaning of "BLOB" is unclear. Add "DRAM" to the name. BUG=b:204226005 TEST=./util/abuild/abuild -t GOOGLE_STEELIX -x Change-Id: Ida7bda770f1d1a40cae205b08c8cb22f2329e49f Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73155 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/common')
-rw-r--r--src/soc/mediatek/common/Kconfig2
-rw-r--r--src/soc/mediatek/common/memory.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig
index 1352a8c42a..2fdeda9abc 100644
--- a/src/soc/mediatek/common/Kconfig
+++ b/src/soc/mediatek/common/Kconfig
@@ -23,7 +23,7 @@ config MEDIATEK_DRAM_DVFS_LIMIT_FREQ_CNT
This options limit DRAM frequency calibration count from total 7 to 3,
other frequency will directly use the low frequency shu result.
-config MEDIATEK_BLOB_FAST_INIT
+config MEDIATEK_DRAM_BLOB_FAST_INIT
bool "Enable running fast calibration by blob"
default n
help
diff --git a/src/soc/mediatek/common/memory.c b/src/soc/mediatek/common/memory.c
index 0a8f58f41f..fc559e2c17 100644
--- a/src/soc/mediatek/common/memory.c
+++ b/src/soc/mediatek/common/memory.c
@@ -202,7 +202,7 @@ static int dram_run_fast_calibration(struct dramc_param *dparam)
printk(BIOS_INFO, "DRAM-K: DRAM calibration data valid pass\n");
- if (CONFIG(MEDIATEK_BLOB_FAST_INIT)) {
+ if (CONFIG(MEDIATEK_DRAM_BLOB_FAST_INIT)) {
printk(BIOS_INFO, "DRAM-K: Run fast calibration run in blob mode\n");
/*