summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2020-02-14 16:08:45 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-02-19 12:08:12 +0000
commit172ef5fe6182ade5fefed0e4f9e76c59fc89667d (patch)
tree8f016627b9992f440abffb17c1ac60c49726f566 /src
parent338e9dcd6bea50fce0c317ee497eb4acb620ce88 (diff)
downloadcoreboot-172ef5fe6182ade5fefed0e4f9e76c59fc89667d.tar.xz
vboot: remove use of NEED_VB20_INTERNALS switch
The NEED_VB20_INTERNALS switch is being deprecated. Use the header file vb2_internals_please_do_not_use.h instead. BUG=b:124141368, chromium:957880 TEST=make clean && make test-abuild BRANCH=none Change-Id: Ie35644876178b806fab4f0ce8089a556227312db Signed-off-by: Joel Kitching <kitching@google.com> Cq-Depend: chromium:2055600 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38887 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/eltan/security/verified_boot/vboot_check.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vendorcode/eltan/security/verified_boot/vboot_check.c b/src/vendorcode/eltan/security/verified_boot/vboot_check.c
index 2edd8f9a74..9d99e02e71 100644
--- a/src/vendorcode/eltan/security/verified_boot/vboot_check.c
+++ b/src/vendorcode/eltan/security/verified_boot/vboot_check.c
@@ -14,13 +14,12 @@
* GNU General Public License for more details.
*/
-#define NEED_VB20_INTERNALS
-
#include <boot_device.h>
#include <bootmem.h>
#include <cbfs.h>
#include <vboot_check.h>
#include <vboot_common.h>
+#include <vb2_internals_please_do_not_use.h>
#define RSA_PUBLICKEY_FILE_NAME "vboot_public_key.bin"