summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@chromium.org>2021-09-02 15:53:18 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-28 12:18:21 +0000
commit7c73bb07fd3ca45ce650b993a9c6a5850ddb2707 (patch)
tree493936a59bbf7c2e983892d89210de65324399fe /tests
parent13f601fbd4c1b128f333391e4552082594f0ff25 (diff)
downloadvboot-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 'tests')
-rw-r--r--tests/vb2_ec_sync_tests.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/vb2_ec_sync_tests.c b/tests/vb2_ec_sync_tests.c
index 16496e44..e47f59d6 100644
--- a/tests/vb2_ec_sync_tests.c
+++ b/tests/vb2_ec_sync_tests.c
@@ -121,11 +121,6 @@ uint32_t VbExIsShutdownRequested(void)
return 0;
}
-int vb2ex_ec_trusted(void)
-{
- return !ec_run_image;
-}
-
vb2_error_t vb2ex_ec_running_rw(int *in_rw)
{
*in_rw = ec_run_image;