diff options
author | Huayang Duan <huayang.duan@mediatek.com> | 2018-09-26 15:53:23 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-08 17:20:08 +0000 |
commit | dac7f53a8b77b9891b1a9129a48f385063a4c066 (patch) | |
tree | b246f79a9ae212706d978f0c5a34d78b3ba14054 /src/soc/mediatek/mt8183/include | |
parent | a558ca9aaee1849a400885189038528afa272ef7 (diff) | |
download | coreboot-dac7f53a8b77b9891b1a9129a48f385063a4c066.tar.xz |
mediatek/mt8183: Add DDR driver of pre-calibration part
BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui, and inits DRAM successfully with related
patches.
Change-Id: If462126df31468ef55ec52e2061b9f98d3015f61
Signed-off-by: Huayang Duan <huayang.duan@mediatek.com>
Reviewed-on: https://review.coreboot.org/28838
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r-- | src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8183/include/soc/dramc_register.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h index e4300891ec..6608ff75e5 100644 --- a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h +++ b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h @@ -139,4 +139,5 @@ void dramc_set_broadcast(u32 onoff); u32 dramc_get_broadcast(void); void dramc_init(void); void dramc_sw_impedance(const struct sdram_params *params); +void dramc_apply_pre_calibration_config(void); #endif /* _DRAMC_PI_API_MT8183_H */ diff --git a/src/soc/mediatek/mt8183/include/soc/dramc_register.h b/src/soc/mediatek/mt8183/include/soc/dramc_register.h index c88eaa0725..5d79b4949b 100644 --- a/src/soc/mediatek/mt8183/include/soc/dramc_register.h +++ b/src/soc/mediatek/mt8183/include/soc/dramc_register.h @@ -630,7 +630,7 @@ struct dramc_ddrphy_ao_regs { }; }; - struct { + struct ddrphy_ao_shu { struct { uint32_t dq[13]; uint32_t dll[2]; |