google/chromeos: Add recovery module in vboot2

Hardware / Coreboot - Furquan Shaikh [google.com] - 25 July 2016 11:55 UTC

Add recovery module in vboot2 that checks if a recovery request is pending and returns appropriate reason code: 1. Checks if recovery mode is initiated by EC. 2. Checks if recovery request is present in VBNV. 3. Checks if recovery request is present in handoff for post-cbmem stages. 4. Checks if vboot verification is complete and looks up selected region to identify if recovery is requested by vboot library.

BUG=chrome-os-partner:55431

Change-Id: I31e332a4d014a185df2434c3730954e08dc27281

6d448e3 google/chromeos: Add recovery module in vboot2
src/vendorcode/google/chromeos/vboot2/Makefile.inc | 6 +
src/vendorcode/google/chromeos/vboot2/recovery.c | 120 ++++++++++++++++++++
src/vendorcode/google/chromeos/vboot_common.h | 6 +
3 files changed, 132 insertions(+)

Upstream: review.coreboot.org


  • Share