From c071652a4e6ad8deb319663f400fd46cf9114947 Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Tue, 21 Feb 2023 17:24:54 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73155 Reviewed-by: Yidi Lin Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/soc/mediatek/common/Kconfig | 2 +- src/soc/mediatek/common/memory.c | 2 +- src/soc/mediatek/mt8186/Kconfig | 2 +- src/soc/mediatek/mt8188/Kconfig | 2 +- 4 files changed, 4 insertions(+), 4 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"); /* diff --git a/src/soc/mediatek/mt8186/Kconfig b/src/soc/mediatek/mt8186/Kconfig index e6cdb00bfe..9372dae724 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 271a122941..6d3c65998c 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 -- cgit v1.2.3