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>
This commit is contained in:
Joel Kitching 2020-02-14 16:08:45 +08:00 committed by Patrick Georgi
parent 338e9dcd6b
commit 172ef5fe61
1 changed files with 1 additions and 2 deletions

View File

@ -14,13 +14,12 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#define NEED_VB20_INTERNALS
#include <boot_device.h> #include <boot_device.h>
#include <bootmem.h> #include <bootmem.h>
#include <cbfs.h> #include <cbfs.h>
#include <vboot_check.h> #include <vboot_check.h>
#include <vboot_common.h> #include <vboot_common.h>
#include <vb2_internals_please_do_not_use.h>
#define RSA_PUBLICKEY_FILE_NAME "vboot_public_key.bin" #define RSA_PUBLICKEY_FILE_NAME "vboot_public_key.bin"