summaryrefslogtreecommitdiff
path: root/firmware/lib/ec_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/ec_sync.c')
-rw-r--r--firmware/lib/ec_sync.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/lib/ec_sync.c b/firmware/lib/ec_sync.c
index bcd10e71..b6729985 100644
--- a/firmware/lib/ec_sync.c
+++ b/firmware/lib/ec_sync.c
@@ -254,9 +254,6 @@ static VbError_t sync_one_ec(struct vb2_context *ctx, int devidx)
* TODO: Switch slot and proceed if EC is still in RO. */
if (is_rw_ab) {
VB2_DEBUG("Rebooting to jump to new EC-RW\n");
- /* Since we're rebooting, ec_sync_all won't be given a
- * chance to clear the flag. Need to clear it here. */
- vb2_nv_set(ctx, VB2_NV_DISPLAY_REQUEST, 0);
return VBERROR_EC_REBOOT_TO_SWITCH_RW;
}
}