summaryrefslogtreecommitdiff
path: root/firmware/lib/ec_sync_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/ec_sync_all.c')
-rw-r--r--firmware/lib/ec_sync_all.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/lib/ec_sync_all.c b/firmware/lib/ec_sync_all.c
index af06b0ec..aeec6079 100644
--- a/firmware/lib/ec_sync_all.c
+++ b/firmware/lib/ec_sync_all.c
@@ -71,11 +71,9 @@ VbError_t ec_sync_all(struct vb2_context *ctx, struct VbCommonParams *cparams)
/*
* Do software sync for devices tunneled throught the EC.
*/
- if (fw_update != VB_AUX_FW_NO_UPDATE) {
- rv = VbExUpdateAuxFw();
- if (rv)
- return rv;
- }
+ rv = VbExUpdateAuxFw();
+ if (rv)
+ return rv;
/*
* Reboot to unload VGA Option ROM if: