diff options
author | Joel Kitching <kitching@google.com> | 2019-08-30 14:58:27 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-30 03:41:36 +0000 |
commit | 7d64b93ccf13623fa26ee865674e3b443ce253bd (patch) | |
tree | a20c7e5140de85eb4eebcc9fa2c7aed71291c54f /firmware/2lib/include/2secdata.h | |
parent | 03072bf685a25485259bae62c8e223377a797f85 (diff) | |
download | vboot-7d64b93ccf13623fa26ee865674e3b443ce253bd.tar.gz |
vboot/altfw: fix up some altfw code
Rather than the caller picking and choosing between vb2_run_altfw
and vb2_try_alt_fw, always use the "try" function, and manually
specify the `allowed` argument.
Fix up some comment styles.
Reverse the order of vb2_commit_data and secdata_kernel_lock
calls, and check the return value of vb2_commit_data.
BUG=b:124141368
TEST=make clean && make runtests
BRANCH=none
Change-Id: Ib6b2752ba1b9be66401612a46f9c1b9353669c27
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1776286
Tested-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2secdata.h')
0 files changed, 0 insertions, 0 deletions