summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8183
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.com>2021-03-03 17:58:07 +0800
committerHung-Te Lin <hungte@chromium.org>2021-03-08 01:50:11 +0000
commite8c681cc6249cc7717885a12373e4fcf34034b1c (patch)
treea9daf5f6700869b9e6dc3b5faaf8fe1ab8b53d7f /src/soc/mediatek/mt8183
parent022b1b992f24890a04851dccc2829284a0431d6a (diff)
downloadcoreboot-e8c681cc6249cc7717885a12373e4fcf34034b1c.tar.gz
coreboot-e8c681cc6249cc7717885a12373e4fcf34034b1c.tar.bz2
coreboot-e8c681cc6249cc7717885a12373e4fcf34034b1c.zip
soc/mediatek/common: Move DRAM implementation from mt8192 to common
To reduce duplicated dram sources on seperate SOCs, add dpm, dram_init, dramc_params, memory(fast-k or full-k) implementations, also add dramc log level macro header files. Signed-off-by: Xi Chen <xixi.chen@mediatek.com> Change-Id: I557c96b3d09828472b8b6f932b0192a90894043e Reviewed-on: https://review.coreboot.org/c/coreboot/+/51203 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8183')
-rw-r--r--src/soc/mediatek/mt8183/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8183/Kconfig b/src/soc/mediatek/mt8183/Kconfig
index ce99c76c8c3c..5a0a76554873 100644
--- a/src/soc/mediatek/mt8183/Kconfig
+++ b/src/soc/mediatek/mt8183/Kconfig
@@ -8,6 +8,7 @@ config SOC_MEDIATEK_MT8183
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select HAVE_UART_SPECIAL
select COMPRESS_BOOTBLOCK
+ select SOC_MEDIATEK_COMMON
if SOC_MEDIATEK_MT8183
@@ -41,10 +42,6 @@ config MT8183_DRAM_DVFS
This options enables DRAM calibration with multiple frequencies (low,
medium and high) for DVFS feature.
-config MEMORY_TEST
- bool
- default y
-
config SSPM_FIRMWARE
string
default "sspm.bin"