diff options
author | Joel Kitching <kitching@google.com> | 2019-10-15 01:04:35 +0800 |
---|---|---|
committer | Joel Kitching <kitching@google.com> | 2019-10-16 05:47:25 +0000 |
commit | f350768a82d2d445e35eea7dd99e8d49e9e5260c (patch) | |
tree | 3fa24ee319c75f314103cac12295161c9697d15c /src | |
parent | 94f249254fab2002b68a21ca59ffc01124c840d5 (diff) |
vboot: add new vb2ex_abort callback
Required for new VB2_ASSERT and VB2_DIE macros in vboot code.
(See chromium:972956.)
BUG=b:124141368, chromium:1005700
TEST=make clean && make test-abuild
BRANCH=none
Change-Id: I61a1036ccab80862d6eb12f9f72286f29e8478cf
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36035
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/security/vboot/vboot_logic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c index d049740776..da6231ae65 100644 --- a/src/security/vboot/vboot_logic.c +++ b/src/security/vboot/vboot_logic.c @@ -87,6 +87,11 @@ vb2_error_t vb2ex_read_resource(struct vb2_context *ctx, return VB2_SUCCESS; } +void vb2ex_abort(void) +{ + die("vboot has aborted execution; exit\n"); +} + /* No-op stubs that can be overridden by SoCs with hardware crypto support. */ __weak vb2_error_t vb2ex_hwcrypto_digest_init(enum vb2_hash_algorithm hash_alg, uint32_t data_size) |