diff options
author | Furquan Shaikh <furquan@google.com> | 2016-07-22 08:28:57 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-07-25 18:55:51 +0200 |
commit | 6d448e3aa6c84487ec6d3fcc09cf015e4433619d (patch) | |
tree | e09e2c5aab94b04923d6d25c547492214c0284d9 /src/vendorcode/google/chromeos/vboot2/Makefile.inc | |
parent | a6c5ddd595e145ffd091a9fcadb5e0ffbf0fa8d1 (diff) |
google/chromeos: Add recovery module in vboot2
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
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/15800
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/vendorcode/google/chromeos/vboot2/Makefile.inc')
-rw-r--r-- | src/vendorcode/google/chromeos/vboot2/Makefile.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/vboot2/Makefile.inc b/src/vendorcode/google/chromeos/vboot2/Makefile.inc index b0a3c125ab..31889e25a6 100644 --- a/src/vendorcode/google/chromeos/vboot2/Makefile.inc +++ b/src/vendorcode/google/chromeos/vboot2/Makefile.inc @@ -28,6 +28,12 @@ romstage-y += ../vboot_common.c ramstage-y += ../vboot_common.c postcar-y += ../vboot_common.c +bootblock-y += recovery.c +romstage-y += recovery.c +ramstage-y += recovery.c +verstage-y += recovery.c +postcar-y += recovery.c + bootblock-y += common.c libverstage-y += vboot_logic.c verstage-y += common.c |