diff options
author | Hsuan Ting Chen <roccochen@chromium.org> | 2021-09-02 15:53:18 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-28 12:18:21 +0000 |
commit | 7c73bb07fd3ca45ce650b993a9c6a5850ddb2707 (patch) | |
tree | 493936a59bbf7c2e983892d89210de65324399fe /firmware/2lib/2stub.c | |
parent | 13f601fbd4c1b128f333391e4552082594f0ff25 (diff) | |
download | vboot-7c73bb07fd3ca45ce650b993a9c6a5850ddb2707.tar.gz |
2lib/2api: Deprecate vb2ex_ec_trusted()
coreboot will support check the EC_IN_RW during verstage_main(), which
performs the equivalent tasks as vb2ex_ec_trusted().
In the previous CL, we remove the check of vb2ex_ec_trusted(), so the
whole implementation of this function among vboot_reference and
depthcharge could be deprecated and removed.
BUG=b:181931817
BRANCH=none
TEST=CC=x86_64-pc-linux-gnu-clang;
make clean && make runtests
TEST=emerge coreboot vboot_reference depthcharge
Cq-Depend: chromium:3139956
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Change-Id: I4f592d7dec2480475762e1336791cbb34fa143ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3139539
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'firmware/2lib/2stub.c')
-rw-r--r-- | firmware/2lib/2stub.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/2lib/2stub.c b/firmware/2lib/2stub.c index 8d3fcd06..1f3b959d 100644 --- a/firmware/2lib/2stub.c +++ b/firmware/2lib/2stub.c @@ -75,12 +75,6 @@ vb2_error_t vb2ex_tpm_set_mode(enum vb2_tpm_mode mode_val) /* auxfw and EC-related stubs */ __attribute__((weak)) -int vb2ex_ec_trusted(void) -{ - return 1; -} - -__attribute__((weak)) vb2_error_t vb2ex_ec_running_rw(int *in_rw) { *in_rw = 0; |