vboot: Add support for recovery mode with forced memory retraining

Hardware / Coreboot - Furquan Shaikh [chromium.org] - 9 November 2016 17:44 UTC

1. Add new function vboot_recovery_mode_memory_retrain that indicates if recovery mode requires memory retraining to be performed. 2. Add helper function get_recovery_mode_retrain_switch to read memory retrain switch. This is provided as weak function which should be implemented by mainboard just like {get,clear}_recovery_mode_switch.

BUG=chrome-os-partner:59352 BRANCH=None TEST=Verified behavior of recovery mode with forced memory retraining on reef

Change-Id: I46c10fbf25bc100d9f562c36da3ac646c9dae7d1

470852b vboot: Add support for recovery mode with forced memory retraining
src/include/bootmode.h | 1 +
src/vboot/bootmode.c | 10 ++++++++++
src/vboot/vboot_common.h | 1 +
3 files changed, 12 insertions(+)

Upstream: review.coreboot.org


  • Share