Yu-Ping Wu uploaded patch set #14 to the change originally created by huayang duan.

View Change

mediatek/mt8183: Use cached calibration result for fast boot

Load calibration params from flash. If the format of params was correct,
use this calibration params for fast calibration
to reduce the bootup time.

For bootup time of DRAM partital calibration
calibration low frequency using 1349385 usecs
calibration middle frequency using 924698 usecs
calibration high frequency using 1270089 usecs
total using 3544172 usecs

For bootup time of DRAM fast calibration
calibration low frequency using 216663 usecs
calibration middle frequency using 328220 usecs
calibration high frequency using 322612 usecs
total using 867495 usecs

BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui.

Change-Id: I9ef4265dd369a1c276bb02294696556df927e7bc
Signed-off-by: Huayang Duan <huayang.duan@mediatek.com>
---
M src/soc/mediatek/mt8183/dramc_init_setting.c
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_common_mt8183.h
M src/soc/mediatek/mt8183/include/soc/emi.h
M src/soc/mediatek/mt8183/memory.c
6 files changed, 431 insertions(+), 295 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/35164/14

To view, visit change 35164. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ef4265dd369a1c276bb02294696556df927e7bc
Gerrit-Change-Number: 35164
Gerrit-PatchSet: 14
Gerrit-Owner: huayang duan <huayangduan@gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Reviewer: huayang duan <huayangduan@gmail.com>
Gerrit-CC: Huayang Duan <huayang.duan@mediatek.corp-partner.google.com>
Gerrit-CC: Hung-Te Lin <hungte@chromium.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset