mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-27 03:33:50 +00:00
Remove VbExTrustEC() from vboot, so it can go into BIOS.
The VbExTrustEC function should be implemented in the BIOS, not the vboot library. Also, weak references don't seem to work with our linker, so we'll have to just require it always. BUG=chrome-os-partner:9953 TEST=none This must go in with a simultaneous change to U-Boot. The only test is whether or not everything continues to compile. Change-Id: I8a5ccb167eec3bcacbe892cf0bdcfe550a1f57d6 Reviewed-on: https://gerrit.chromium.org/gerrit/25557 Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Ready: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
@@ -209,13 +209,6 @@ fallout:
|
||||
}
|
||||
|
||||
|
||||
/* FIXME(crosbug.com/p/9953): The platform BIOS should implement this! */
|
||||
/* And not here: somewhere outside of vboot with the other VbEx functions */
|
||||
int VbExTrustEC(void) {
|
||||
/* Only return true if the EC is running in its RO firmware *right now*. */
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Ask the user to confirm changing the virtual dev-mode switch. If they confirm
|
||||
* we'll change it and return a reason to reboot. */
|
||||
static VbError_t VbConfirmChangeDevMode(VbCommonParams* cparams, int to_dev) {
|
||||
|
||||
Reference in New Issue
Block a user