diff options
author | Joel Kitching <kitching@google.com> | 2019-04-25 18:21:16 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-05-18 22:06:26 +0000 |
commit | eade8c4dad3ef9b01ae754085602222d87dc0825 (patch) | |
tree | 56c6617b0ad8465cc324015068f26e1a1bcd6f75 | |
parent | 3cc1bf259c977b88925179f01d4f8a75c0da57aa (diff) | |
download | vboot-eade8c4dad3ef9b01ae754085602222d87dc0825.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: I675249417cd46e8eb7696fda557f3f98dae764ee
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Original-Commit-Id: 719968c47a6220b3e660e4f72cbc2a56750eec00
Original-Change-Id: Ib31c816ed8e2eb91c30080e854ec9245d59c98f2
Original-Signed-off-by: Joel Kitching <kitching@google.com>
Original-Cq-Depend: chromium:1599567, chromium:1583941, chromium:1610164
Original-Reviewed-on: https://chromium-review.googlesource.com/1583825
Original-Commit-Ready: Joel Kitching <kitching@chromium.org>
Original-Tested-by: Joel Kitching <kitching@chromium.org>
Original-Reviewed-by: Joel Kitching <kitching@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1618909
-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 |