vendorcode/mt8192: fix fast-k gating PI P1 initialization

In RX Gating flow, PI P1 delay is missing, so re-add the initialization.

Signed-off-by: Xi Chen <xixi.chen@mediatek.com>
Change-Id: Ic72ccecd205062ee79f6928993fac772fc10f880
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51425
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Xi Chen 2021-03-12 11:15:45 +08:00 committed by Hung-Te Lin
parent 995eed9fef
commit b8f03fd0ca

View file

@ -4586,6 +4586,7 @@ static void rxdqs_gating_fastk_save_restore(DRAMC_CTX_T *p,
best_win->best_dqsien_dly_ui_p1[dqs_i] / ui_per_mck;
best_win->best_dqsien_dly_ui_p1[dqs_i] =
best_win->best_dqsien_dly_ui_p1[dqs_i] % ui_per_mck;
best_win->best_dqsien_dly_pi_p1[dqs_i] = best_win->best_dqsien_dly_pi[dqs_i];
vSetCalibrationResult(p, DRAM_CALIBRATION_GATING, DRAM_FAST_K);