Yu-Ping Wu has uploaded a new patch set (#47) to the change originally created by huayang duan. ( https://review.coreboot.org/c/coreboot/+/35481 )
Change subject: soc/mediatek/mt8183: Clean cached calibration results if mem test fails ......................................................................
soc/mediatek/mt8183: Clean cached calibration results if mem test fails
If DRAM calibration fails or mem test fails using the cached calibration results stored in flash, clean the cached results and rerun DRAM full calibration. If partial calibration fails or the mem test following it fails, hang forever.
BUG=b:80501386,b:139099592 BRANCH=none TEST=Boots correctly on Kukui
Change-Id: I8e1d4f5bc7b45f45a8bfef74e86ec0ff6a556af4 Signed-off-by: Huayang Duan huayang.duan@mediatek.com --- M src/soc/mediatek/mt8183/dramc_pi_calibration_api.c M src/soc/mediatek/mt8183/emi.c M src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h M src/soc/mediatek/mt8183/include/soc/emi.h M src/soc/mediatek/mt8183/memory.c 5 files changed, 43 insertions(+), 19 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/35481/47