summaryrefslogtreecommitdiffstats
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
parent52e5756ea8fb094ea3e438ad3e30cc4112c6de65 (diff)
downloadcoreboot-c071652a4e6ad8deb319663f400fd46cf9114947.tar.gz
coreboot-c071652a4e6ad8deb319663f400fd46cf9114947.tar.bz2
coreboot-c071652a4e6ad8deb319663f400fd46cf9114947.zip
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>
-rw-r--r--src/soc/mediatek/common/Kconfig2
-rw-r--r--src/soc/mediatek/common/memory.c2
-rw-r--r--src/soc/mediatek/mt8186/Kconfig2
-rw-r--r--src/soc/mediatek/mt8188/Kconfig2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig
index 1352a8c42a5b..2fdeda9abc44 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 0a8f58f41f84..fc559e2c176c 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");
/*
diff --git a/src/soc/mediatek/mt8186/Kconfig b/src/soc/mediatek/mt8186/Kconfig
index e6cdb00bfe57..9372dae7243f 100644
--- a/src/soc/mediatek/mt8186/Kconfig
+++ b/src/soc/mediatek/mt8186/Kconfig
@@ -9,7 +9,7 @@ config SOC_MEDIATEK_MT8186
select CACHE_MRC_SETTINGS
select HAVE_UART_SPECIAL
select SOC_MEDIATEK_COMMON
- select MEDIATEK_BLOB_FAST_INIT
+ select MEDIATEK_DRAM_BLOB_FAST_INIT
select USE_CBMEM_DRAM_INFO
select FLASH_DUAL_IO_READ
select PWRAP_WITH_PMIF_SPMI
diff --git a/src/soc/mediatek/mt8188/Kconfig b/src/soc/mediatek/mt8188/Kconfig
index 271a12294105..6d3c65998c58 100644
--- a/src/soc/mediatek/mt8188/Kconfig
+++ b/src/soc/mediatek/mt8188/Kconfig
@@ -10,7 +10,7 @@ config SOC_MEDIATEK_MT8188
select SOC_MEDIATEK_COMMON
select FLASH_DUAL_IO_READ
select CACHE_MRC_SETTINGS
- select MEDIATEK_BLOB_FAST_INIT
+ select MEDIATEK_DRAM_BLOB_FAST_INIT
select USE_CBMEM_DRAM_INFO
select DPM_FOUR_CHANNEL