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/ec_sync_all.c | |
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/ec_sync_all.c')
-rw-r--r-- | firmware/lib/ec_sync_all.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/lib/ec_sync_all.c b/firmware/lib/ec_sync_all.c index 2ad61035..a32d34dd 100644 --- a/firmware/lib/ec_sync_all.c +++ b/firmware/lib/ec_sync_all.c @@ -77,5 +77,10 @@ VbError_t ec_sync_all(struct vb2_context *ctx, struct VbCommonParams *cparams) return VBERROR_VGA_OPROM_MISMATCH; } + /* Do EC sync phase 3; this completes synd and handles battery cutoff */ + rv = ec_sync_phase3(ctx, cparams); + if (rv) + return rv; + return VBERROR_SUCCESS; } |