summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuayang Duan <huayang.duan@mediatek.com>2019-08-19 16:22:48 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-09-10 20:06:30 +0000
commit8e71ca00d48a0edb8d5be6bb6516a6d102535d7e (patch)
treecaf27e0f81a27fa43b2c1664d680a3751e1c44f1
parent9890bd98b07c83c0e346fbb6f8284176e81fdb71 (diff)
downloadcoreboot-8e71ca00d48a0edb8d5be6bb6516a6d102535d7e.tar.xz
mediatek/mt8183: Add new option for eMCP DDR
Devices using eMCP may run at a high DRAM frequency (e.g., 3600Mbs) while those with discrete DRAM can only run at 3200Mbps. A new option MT8183_DRAM_EMCP is added to Kconfig for a mainboard to select, depending on whether it supports eMCP or not. BUG=b:80501386 BRANCH=none TEST=Boots correctly on Kukui Change-Id: I9b73c8b512db5104896ea0d330d56e63eb50a44b Signed-off-by: Huayang Duan <huayang.duan@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34989 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
-rw-r--r--src/soc/mediatek/mt8183/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/Kconfig b/src/soc/mediatek/mt8183/Kconfig
index 9ac57bddfd..5ded0d3801 100644
--- a/src/soc/mediatek/mt8183/Kconfig
+++ b/src/soc/mediatek/mt8183/Kconfig
@@ -23,6 +23,13 @@ config DEBUG_DRAM
help
This option enables additional DRAM related debug messages.
+config MT8183_DRAM_EMCP
+ bool
+ default n
+ help
+ The eMCP platform should select this option to run at different DRAM
+ frequencies.
+
config MEMORY_TEST
bool
default y