diff options
author | Bill Richardson <wfrichar@chromium.org> | 2012-06-18 13:37:05 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-06-18 15:21:30 -0700 |
commit | 592567e95612cdfa679b9b9fd3e4afe0579b1210 (patch) | |
tree | 1b092cb00f84ce495b92fff5686b4881172138d8 /firmware/include/vboot_api.h | |
parent | acd6f4688abb9a0253bb469a8a52046c97281347 (diff) | |
download | vboot-592567e95612cdfa679b9b9fd3e4afe0579b1210.tar.gz |
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>
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r-- | firmware/include/vboot_api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index 50d0f816..8cb3620b 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -617,4 +617,11 @@ VbError_t VbExDecompress(void *inbuf, uint32_t in_size, uint32_t compression_type, void *outbuf, uint32_t *out_size); + +/* This is called only if the system implements a keyboard-based (virtual) + * developer switch. It must return true only if the system has an embedded + * controller which is provably running in its RO firmware at the time the + * function is called. */ +int VbExTrustEC(void); + #endif /* VBOOT_REFERENCE_VBOOT_API_H_ */ |