diff options
Diffstat (limited to 'firmware/lib/vboot_common.c')
-rw-r--r-- | firmware/lib/vboot_common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/lib/vboot_common.c b/firmware/lib/vboot_common.c index 60483b2c..d3851940 100644 --- a/firmware/lib/vboot_common.c +++ b/firmware/lib/vboot_common.c @@ -213,10 +213,6 @@ int VbSharedDataSetKernelKey(VbSharedDataHeader *header, const VbPublicKey *src) int vb2_allow_recovery(uint32_t flags) { - /* In dev mode, unconditionally allowed. */ - if (flags & VBSD_BOOT_DEV_SWITCH_ON) - return 1; - /* * 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 |