diff options
author | Randall Spangler <rspangler@chromium.org> | 2016-11-22 12:58:22 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-01-12 15:56:24 -0800 |
commit | ad7a75531ea3bcfb94e0b0ded9ecfdf7a31ba969 (patch) | |
tree | b4a848193ca11e2230244d59b64ba73937fbf773 /firmware/lib/include/ec_sync.h | |
parent | 284bf5549a4df474534f288902db489902407830 (diff) | |
download | vboot-ad7a75531ea3bcfb94e0b0ded9ecfdf7a31ba969.tar.gz |
firmware: Remove LoadKernelParams from APIs
This cleans up the vboot functions which handle display so they don't
need to pass it around. Eventually, it'll be absorbed by vb2_context.
BUG=chromium:611535
BRANCH=none
TEST=make runtests; build_packages --board=reef chromeos-firmware; boot reef
Change-Id: I58169dfd37abe657f9b9aa339cc72ffa398329e0
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/414288
Reviewed-by: Shelley Chen <shchen@chromium.org>
Diffstat (limited to 'firmware/lib/include/ec_sync.h')
-rw-r--r-- | firmware/lib/include/ec_sync.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/lib/include/ec_sync.h b/firmware/lib/include/ec_sync.h index dd133920..b629b2d5 100644 --- a/firmware/lib/include/ec_sync.h +++ b/firmware/lib/include/ec_sync.h @@ -60,6 +60,18 @@ int ec_will_update_slowly(struct vb2_context *ctx, VbError_t ec_sync_phase2(struct vb2_context *ctx, struct VbCommonParams *cparams); + +/** + * EC sync, phase 3 + * + * This completes EC sync and handles battery cutoff if needed. + * + * @param ctx Vboot2 context + * @param cparams Vboot common params + * @return VBERROR_SUCCESS or non-zero error code. + */ +VbError_t ec_sync_phase3(struct vb2_context *ctx, VbCommonParams *cparams); + /** * Sync all EC devices to expected versions. * |