mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
Disable EC jump after RW image starts
TEST=Built and booted Peppy. Ran flashrom from user space and verified the EC firmware was updated after reboot. CQ-DEPEND=CL:172651, CL:172652, CL:178324 BRANCH=none BUG=chromium:325286 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Ia73da70dbf3abb5ced48666e86715c8d24a431a0 Reviewed-on: https://chromium-review.googlesource.com/172635 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@google.com> Commit-Queue: Daisuke Nojiri <dnojiri@google.com>
This commit is contained in:
committed by
chrome-internal-fetch
parent
a3d70a3d2b
commit
8912169231
@@ -752,11 +752,10 @@ VbError_t VbExEcRunningRW(int *in_rw);
|
||||
VbError_t VbExEcJumpToRW(void);
|
||||
|
||||
/**
|
||||
* Tell the EC to stay in RO code until it reboots. Subsequent calls to
|
||||
* VbExEcJumpToRW() this boot will fail. Fails if the EC is not currently in
|
||||
* RO code.
|
||||
* Tell the EC to refuse another jump until it reboots. Subsequent calls to
|
||||
* VbExEcJumpToRW() in this boot will fail.
|
||||
*/
|
||||
VbError_t VbExEcStayInRO(void);
|
||||
VbError_t VbExEcDisableJump(void);
|
||||
|
||||
/**
|
||||
* Read the SHA-256 hash of the rewriteable EC image.
|
||||
|
||||
Reference in New Issue
Block a user