summaryrefslogtreecommitdiff
path: root/src/security/vboot/bootmode.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-04-25 17:10:52 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-04-29 12:24:17 +0000
commit4114aa8375f152312e9f43260124092f031680a9 (patch)
tree544df86eb09a1835b260b41f3c924fea1005c91e /src/security/vboot/bootmode.c
parent053de0d812ac22921deb39b69a9fdbb17f89033a (diff)
vboot: specify NEED_VB20_INTERNALS when needed
NEED_VB20_INTERNALS should always be specified when peeking into vboot internal data structures. BUG=b:124141368, chromium:956474 TEST=make clean && make test-abuild BRANCH=none Change-Id: I5a47a28350fd5a68efeff0d06ca150c1ae145412 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32452 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/security/vboot/bootmode.c')
-rw-r--r--src/security/vboot/bootmode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/security/vboot/bootmode.c b/src/security/vboot/bootmode.c
index 1d6525f966..e6e53b6f33 100644
--- a/src/security/vboot/bootmode.c
+++ b/src/security/vboot/bootmode.c
@@ -13,6 +13,8 @@
* GNU General Public License for more details.
*/
+#define NEED_VB20_INTERNALS /* Peeking into vb2_shared_data */
+
#include <assert.h>
#include <bootmode.h>
#include <bootstate.h>