summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/emi.c
diff options
context:
space:
mode:
authorRyan Chuang <ryan.chuang@mediatek.corp-partner.google.com>2021-12-27 11:38:21 +0800
committerHung-Te Lin <hungte@chromium.org>2021-12-29 07:45:26 +0000
commit773c007af46b02b32d2f0885ba3bfda62db1861e (patch)
tree9d2df207bdde143031dc64fe249d228e6c934559 /src/soc/mediatek/mt8186/emi.c
parent7b168c92f6a0bd3a8cd2c93a016c5b0357d9412a (diff)
soc/mediatek/mt8186: Add header files to support DRAM calibration
Remove emi.h because emi.h is defined in common/include/soc. Add dramc_param.h and dramc_soc.h to prepare for implementation of DRAM full calibration. TEST=build pass. BUG=b:202871018 Signed-off-by: Ryan Chuang <ryan.chuang@mediatek.corp-partner.google.com> Change-Id: If8662ed43088ea5aa1fe6cb5b2c4bda2338c4387 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60385 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8186/emi.c')
-rw-r--r--src/soc/mediatek/mt8186/emi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8186/emi.c b/src/soc/mediatek/mt8186/emi.c
index 169b3530f6..48a7b3ef07 100644
--- a/src/soc/mediatek/mt8186/emi.c
+++ b/src/soc/mediatek/mt8186/emi.c
@@ -11,3 +11,8 @@ size_t sdram_size(void)
{
return (size_t)4 * GiB;
}
+
+void mt_set_emi(struct dramc_param *dparam)
+{
+ /* Do nothing */
+}