diff options
Diffstat (limited to 'firmware/lib/vboot_common.c')
-rw-r--r-- | firmware/lib/vboot_common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/lib/vboot_common.c b/firmware/lib/vboot_common.c index 1c826667..60483b2c 100644 --- a/firmware/lib/vboot_common.c +++ b/firmware/lib/vboot_common.c @@ -217,7 +217,12 @@ int vb2_allow_recovery(uint32_t flags) if (flags & VBSD_BOOT_DEV_SWITCH_ON) return 1; - /* If EC is in RW, it implies recovery wasn't manually requested. */ + /* + * If EC is in RW, it implies recovery wasn't manually requested. + * On some platforms, EC_IN_RW can't be reset by the EC, thus, this may + * return false (=RW). That's ok because if recovery is manual, we will + * get the right signal and that's the case we care about. + */ if (!VbExTrustEC(0)) return 0; |