diff options
author | Joel Kitching <kitching@google.com> | 2019-10-22 16:16:49 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-14 07:22:11 +0000 |
commit | 35edb575304447c68be8c7298610203ee98d94e0 (patch) | |
tree | 801646232c2aa25d8d4feea2734f589d438814e5 /firmware/lib/vboot_common.c | |
parent | 26cb4f2d56ade573588aaa8f20ca38402da09c86 (diff) | |
download | vboot-35edb575304447c68be8c7298610203ee98d94e0.tar.gz |
vboot: simplify ec_sync code to only handle one device
Remove devidx argument from internal and external functions.
Rename external API functions to vboot2 scheme (vb2ex_...).
Rename external EC-related data types to vboot2 scheme (vb2_...).
BUG=b:124141368, chromium:1016688, chromium:1017093, b:112198832, b:143094352
TEST=make clean && make runtests
BRANCH=none
Cq-Depend: chromium:1910562
Change-Id: I4ca9858a0f91a0365288c04cdb90aad0efdd7647
Signed-off-by: Joel Kitching <kitching@google.com>
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1872255
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/lib/vboot_common.c')
-rw-r--r-- | firmware/lib/vboot_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/vboot_common.c b/firmware/lib/vboot_common.c index c77141dd..839964b0 100644 --- a/firmware/lib/vboot_common.c +++ b/firmware/lib/vboot_common.c @@ -112,7 +112,7 @@ int vb2_allow_recovery(struct vb2_context *ctx) * return false (=RW). That's ok because if recovery is manual, we will * get the right signal and that's the case we care about. */ - if (!VbExTrustEC(0)) + if (!vb2ex_ec_trusted()) return 0; /* Now we confidently check the recovery switch state at boot */ |