summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/Kconfig
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.corp-partner.google.com>2022-01-04 19:00:44 +0800
committerHung-Te Lin <hungte@chromium.org>2022-02-09 06:02:52 +0000
commit5c7a9237571bce7f91ffd56860f7b644b7f6f1db (patch)
tree3ed7f733d22a9da733eca549edcb24c83d655d8e /src/soc/mediatek/common/Kconfig
parente0f08018025945921196168be7605a7e15d6abeb (diff)
soc/mediatek/mt8186: Support DRAM fast calibration using blob
For most MediaTek SoCs (MT8183, MT8192, MT8195) we rely on an external program (e.g., the "DRAM blob") to do the full DRAM calibration first, then store and and apply the generated parameters to the reference "fast DRAM calibration" in the vendor/mediatek folder for normal system boot. Starting with MT8186 the implementation of fast calibration may need to be changed, and a "DRAM blob" only path is introduced for devices that have to do both full and fast calibration using the external blob. TEST=fast calibration pass on kingler/krabby BUG=b:204226005 Signed-off-by: Xi Chen <xixi.chen@mediatek.corp-partner.google.com> Change-Id: If25a7dd6aa6261ecff79a1b4df8b1f2e53d896dc Reviewed-on: https://review.coreboot.org/c/coreboot/+/61133 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/common/Kconfig')
-rw-r--r--src/soc/mediatek/common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig
index 7d1e4554bc..27f6cec125 100644
--- a/src/soc/mediatek/common/Kconfig
+++ b/src/soc/mediatek/common/Kconfig
@@ -22,6 +22,13 @@ 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
+ bool "Enable running fast calibration by blob"
+ default n
+ help
+ This option allows performing fast calibration through different
+ open-source policy.
+
config MEMORY_TEST
bool
default y