diff options
author | Joel Kitching <kitching@google.com> | 2019-04-25 18:21:16 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-17 18:36:48 -0700 |
commit | 719968c47a6220b3e660e4f72cbc2a56750eec00 (patch) | |
tree | 56c6617b0ad8465cc324015068f26e1a1bcd6f75 /firmware | |
parent | de30df731edc7ed2729982de588e0f8b9082cf3c (diff) | |
download | vboot-719968c47a6220b3e660e4f72cbc2a56750eec00.tar.gz |
vboot: remove NEED_VB2_SHA_LIBRARY switch
Replaced with the external-facing header vb2_sha.h.
BUG=b:124141368, chromium:956474
TEST=make clean && make runtests
BRANCH=none
Change-Id: Ib31c816ed8e2eb91c30080e854ec9245d59c98f2
Signed-off-by: Joel Kitching <kitching@google.com>
Cq-Depend: chromium:1599567, chromium:1583941, chromium:1610164
Reviewed-on: https://chromium-review.googlesource.com/1583825
Commit-Ready: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/include/vb2_api.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/firmware/include/vb2_api.h b/firmware/include/vb2_api.h index 4ef64a88..e9a1e7b5 100644 --- a/firmware/include/vb2_api.h +++ b/firmware/include/vb2_api.h @@ -7,18 +7,9 @@ * * DO NOT INCLUDE THE HEADERS BELOW DIRECTLY! ONLY INCLUDE THIS FILE! * - * Using vb2api.h as the single point of contact between calling firmware and + * Using vb2_api.h as the single point of contact between calling firmware and * vboot allows subsequent refactoring of vboot (renaming of headers, etc.) * without churning other projects' source code. - */ - -/* - * Switches that can be used in conjunction with this header file: - * - * #define NEED_VB2_SHA_LIBRARY - * SHA library APIs may be called by external firmware as well as vboot. - * This is permissible because the SHA library routines below don't interact - * with the rest of vboot. * * #define NEED_VB20_INTERNALS * Allows the caller to peek into vboot2 data structures, by including a @@ -33,11 +24,6 @@ /* Standard APIs */ #include "../2lib/include/2api.h" -/* SHA library */ -#ifdef NEED_VB2_SHA_LIBRARY -#include "../2lib/include/2sha.h" -#endif - /* * Coreboot should not need access to vboot2 internals. But right now it does. * At least this forces it to do so through a relatively narrow hole so vboot2 |