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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/lib/ec_sync_all.c b/firmware/lib/ec_sync_all.c
index 1d9c7f71..a756bbcf 100644
--- a/firmware/lib/ec_sync_all.c
+++ b/firmware/lib/ec_sync_all.c
@@ -24,13 +24,13 @@ VbError_t ec_sync_all(struct vb2_context *ctx, struct VbCommonParams *cparams)
VbAuxFwUpdateSeverity_t fw_update;
VbError_t rv;
- rv = ec_sync_check_aux_fw(ctx, cparams, &fw_update);
+ rv = ec_sync_check_aux_fw(ctx, &fw_update);
if (rv)
return rv;
/* Phase 1; this determines if we need an update */
- VbError_t phase1_rv = ec_sync_phase1(ctx, cparams);
- int need_wait_screen = ec_will_update_slowly(ctx, cparams) ||
+ VbError_t phase1_rv = ec_sync_phase1(ctx);
+ int need_wait_screen = ec_will_update_slowly(ctx) ||
(fw_update == VB_AUX_FW_SLOW_UPDATE);
/*
@@ -61,7 +61,7 @@ VbError_t ec_sync_all(struct vb2_context *ctx, struct VbCommonParams *cparams)
}
/* Phase 2; Applies update and/or jumps to the correct EC image */
- rv = ec_sync_phase2(ctx, cparams);
+ rv = ec_sync_phase2(ctx);
if (rv)
return rv;
@@ -89,7 +89,7 @@ VbError_t ec_sync_all(struct vb2_context *ctx, struct VbCommonParams *cparams)
}
/* Phase 3; Completes sync and handles battery cutoff */
- rv = ec_sync_phase3(ctx, cparams);
+ rv = ec_sync_phase3(ctx);
if (rv)
return rv;