summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/emi.c
diff options
context:
space:
mode:
authorHuayang Duan <huayang.duan@mediatek.com>2018-09-26 16:10:42 +0800
committerPatrick Georgi <pgeorgi@google.com>2018-11-08 17:20:24 +0000
commitcede791d4f6381032056f54355c621b4e125fdba (patch)
treed2f5ba2460ff2216372c872cb2f4dac835ea0d75 /src/soc/mediatek/mt8183/emi.c
parentdac7f53a8b77b9891b1a9129a48f385063a4c066 (diff)
mediatek/mt8183: Add DDR driver of cmd bus training part
BRANCH=none TEST=Boots correctly on Kukui, and inits DRAM successfully with related patches. Change-Id: Icb281f1b23c637971497eb28ed428235adf42f2d Signed-off-by: Huayang Duan <huayang.duan@mediatek.com> Reviewed-on: https://review.coreboot.org/28839 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/emi.c')
-rw-r--r--src/soc/mediatek/mt8183/emi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/emi.c b/src/soc/mediatek/mt8183/emi.c
index a65831449f..a4ac4ab4d9 100644
--- a/src/soc/mediatek/mt8183/emi.c
+++ b/src/soc/mediatek/mt8183/emi.c
@@ -287,6 +287,7 @@ static void init_dram(const struct sdram_params *params)
static void do_calib(const struct sdram_params *params)
{
dramc_apply_pre_calibration_config();
+ dramc_calibrate_all_channels(params);
}
void mt_set_emi(const struct sdram_params *params)