summaryrefslogtreecommitdiff
path: root/firmware/lib/include/vboot_kernel.h
diff options
context:
space:
mode:
authorChromeOS Developer <rspangler@chromium.org>2016-10-31 16:19:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-01-12 15:56:22 -0800
commit284bf5549a4df474534f288902db489902407830 (patch)
tree35a57427366db7dfdff622b439b0709371726005 /firmware/lib/include/vboot_kernel.h
parentd1408000508eb4d80e6d499da4530bb6251b3509 (diff)
downloadvboot-284bf5549a4df474534f288902db489902407830.tar.gz
firmware: Refactor and clean up ec_sync
Previously, the EC software sync process called VbDisplayScreen() from several function calls deep. Refactor software sync so that the UI decisions are at a higher level (in ec_sync_all.c) and isolated from the low-level EC software sync functionality (in ec_sync.c). This is one in a series of changes which are more clearly separating out the UI, to make it easier to support multiple UI across a range of devices. BUG=chromium:611535 BRANCH=none TEST=make runtests; build_packages --board=reef chromeos-firmware; boot reef Change-Id: I40597abeb5b0cc8f5d8fc2098e4acbed4bf59bf6 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/411921 Reviewed-by: Shelley Chen <shchen@chromium.org>
Diffstat (limited to 'firmware/lib/include/vboot_kernel.h')
-rw-r--r--firmware/lib/include/vboot_kernel.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/lib/include/vboot_kernel.h b/firmware/lib/include/vboot_kernel.h
index b6a2a858..1c9dafcb 100644
--- a/firmware/lib/include/vboot_kernel.h
+++ b/firmware/lib/include/vboot_kernel.h
@@ -77,14 +77,4 @@ VbError_t VbBootDeveloper(struct vb2_context *ctx, VbCommonParams *cparams,
VbError_t VbBootRecovery(struct vb2_context *ctx, VbCommonParams *cparams,
LoadKernelParams *p);
-/**
- * Sync EC device <devidx> firmware to expected version.
- *
- * @param ctx Vboot context
- * @param devidx EC device index to sync
- * @param cparams Common vboot params
- */
-VbError_t VbEcSoftwareSync(struct vb2_context *ctx, int devidx,
- VbCommonParams *cparams);
-
#endif /* VBOOT_REFERENCE_VBOOT_KERNEL_H_ */