summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8173
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/mt8173
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/mt8173')
-rw-r--r--src/soc/mediatek/mt8173/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8173/Kconfig b/src/soc/mediatek/mt8173/Kconfig
index 15b833f56f5f..bf5316417851 100644
--- a/src/soc/mediatek/mt8173/Kconfig
+++ b/src/soc/mediatek/mt8173/Kconfig
@@ -10,6 +10,7 @@ config SOC_MEDIATEK_MT8173
select HAVE_UART_SPECIAL
select GENERIC_GPIO_LIB
select RTC
+ select SOC_MEDIATEK_COMMON
if SOC_MEDIATEK_MT8173
@@ -22,10 +23,6 @@ config VBOOT
select VBOOT_STARTS_IN_BOOTBLOCK
select VBOOT_SEPARATE_VERSTAGE
-config MEMORY_TEST
- bool
- default n
-
config DEBUG_SOC_DRIVER
bool "The top level switch for soc driver debug messages"
default n