summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188/emi.c
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.com>2022-07-28 13:43:51 +0800
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-27 15:54:11 +0000
commit22ce1e80af945d0d24ce70b0bc7761e0df6512b0 (patch)
tree99dbec1e9c691605c6f6db0b13a2203e2b676317 /src/soc/mediatek/mt8188/emi.c
parenta0eb855ef44393dd4ac7e32b5c73dee1556f328d (diff)
soc/mediatek/mt8188: Add DRAM full calibration support
- Use common SoC drivers for DRAM calibration support. - Remove emi.h because sdram_size() is already declared in common/include/soc/emi.h. - Add dramc_param.h and dramc_soc.h to prepare for implementation of DRAM full calibration. TEST=build pass BUG=b:233720142 Signed-off-by: Xi Chen <xixi.chen@mediatek.com> Change-Id: I2f88d971fe861cbd09cc86c8a5a1fb531bfe78d7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66277 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8188/emi.c')
-rw-r--r--src/soc/mediatek/mt8188/emi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8188/emi.c b/src/soc/mediatek/mt8188/emi.c
index 7c9ca8e157..eebc0d4bf2 100644
--- a/src/soc/mediatek/mt8188/emi.c
+++ b/src/soc/mediatek/mt8188/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 */
+}