diff options
author | Huayang Duan <huayang.duan@mediatek.com> | 2018-09-26 16:33:18 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-29 13:35:38 +0000 |
commit | fcdbce2decbf88a39b2da29ad1137a08e1d9ca95 (patch) | |
tree | 79cfa14b7c242c68f9efb2e7068e1c621ff91b01 /src/soc/mediatek/mt8183/include | |
parent | f5b974e4b7a54d2ab9b59101ce17576e2e16e3f0 (diff) |
mediatek/mt8183: Add DDR driver of rx dqs gating calibration part
BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui, and inits DRAM successfully with related
patches.
Change-Id: I504d6d5c9ea01b11a9f2a05b5ee4b5f1af87e23f
Signed-off-by: Huayang Duan <huayang.duan@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/28841
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: You-Cheng Syu <youcheng@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r-- | src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h | 5 |
1 files changed, 5 insertions, 0 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 6fc3ef71f4..3fb8c25d47 100644 --- a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h +++ b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h @@ -111,6 +111,11 @@ enum { RESTORE_VALUE }; +struct reg_value { + u32 *addr; + u32 value; +}; + enum { DQ_DIV_SHIFT = 3, DQ_DIV_MASK = BIT(DQ_DIV_SHIFT) - 1, |