summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/decompressor.c
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2019-10-23 14:20:53 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-10-24 07:45:55 +0000
commit285975dbba8c7f3bbb9f9950e79a30bb983d5123 (patch)
tree3ab0a82e2e0ee3a9e65d38711c1493d0cdc2cc80 /src/soc/mediatek/mt8183/decompressor.c
parent7f1da07849c025982cda0e973588dc6305616cbe (diff)
soc/mediatek/mt8183: Force retraining memory if requested
To allow retraining memory without hotkey (for example in manufacturing process), we want to enforce re-training when the recovery reason is set to VB2_RECOVERY_TRAIN_AND_REBOOT (which can be done by running "crossystem recovery_request=0xc4"). The special reason was created for X86 MRC cache, for ensuring RO calibration data is filled (the underlying implementation was in vboot, not coreboot); and on MT8183 we have only RW calibration, but it seems totally fine to extend that for RW. BRANCH=kukui BUG=None TEST=boots; crossystem recovery_reason=0xc4; reboot Change-Id: Iaa5275f0e0eb90f6ab3a7d4579977a6655d59bd9 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36251 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/decompressor.c')
0 files changed, 0 insertions, 0 deletions