coreboot/src/vendorcode/google
Edward O'Callaghan 7c52283f78 chromeos/cr50_enable_update.c: Modify recovery flow for cr50
Enable Cr50 update in recovery mode, so that we can at least still
update the process for most cases (that an update is pending in recovery
mode is not impossible but should be unlikely in the field).

Leave manual recovery unaffected so at least that would still work even
if Cr50 wedges in a weird way that it thinks it has an update on every
boot or something.

Setting the recovery_reason to VB2_RECOVERY_TRAIN_AND_REBOOT allows the
update to be applied.

BUG=b:154071064
BRANCH=none
TEST=builds

Thanks to Julius Werner for the suggested fix.

Change-Id: Iba341a750cce8334da4dcf6353ca8cd1268d170f
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41988
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2020-06-06 09:39:07 +00:00
..
chromeos chromeos/cr50_enable_update.c: Modify recovery flow for cr50 2020-06-06 09:39:07 +00:00
Kconfig src: Fix up ##-commented SPDX headers 2020-06-01 17:01:13 +00:00
Makefile.inc src: Fix up ##-commented SPDX headers 2020-06-01 17:01:13 +00:00
smbios.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00