summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2020-02-20 17:50:25 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-02-24 12:47:55 +0000
commita6531a335c9fed0776f033ee69f7eb4fc325c944 (patch)
tree5996ecab34996d99e197883e2ff1f66165efd76f /src
parent0d4dd167f5228e6fccdde40f1877ac55905fc826 (diff)
downloadcoreboot-a6531a335c9fed0776f033ee69f7eb4fc325c944.tar.xz
vboot: remove rogue vboot_struct.h include
As part of vboot1 deprecation, remove an unused vboot_struct.h include. coreboot is now free of vboot1 data structure use. One vboot_api.h include remains as part of security/vboot/ec_sync.c. BUG=b:124141368 TEST=make clean && make test-abuild BRANCH=none Change-Id: I042d692aa252f8f859d4005455eb6a2eabc24a87 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39024 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/security/vboot/ec_sync.c2
-rw-r--r--src/vendorcode/google/chromeos/gnvs.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/security/vboot/ec_sync.c b/src/security/vboot/ec_sync.c
index f4f9c23976..e7b64b2398 100644
--- a/src/security/vboot/ec_sync.c
+++ b/src/security/vboot/ec_sync.c
@@ -23,7 +23,7 @@
#include <timer.h>
#include <timestamp.h>
#include <vb2_api.h>
-#include <vboot_api.h>
+#include <vboot_api.h> /* for VbExDisplayScreen() and VbScreenData */
#define _EC_FILENAME(select, suffix) \
(select == VB_SELECT_FIRMWARE_READONLY ? "ecro" suffix : "ecrw" suffix)
diff --git a/src/vendorcode/google/chromeos/gnvs.c b/src/vendorcode/google/chromeos/gnvs.c
index 81154550ec..04680c0974 100644
--- a/src/vendorcode/google/chromeos/gnvs.c
+++ b/src/vendorcode/google/chromeos/gnvs.c
@@ -22,7 +22,6 @@
#include <fmap.h>
#include <security/vboot/vbnv.h>
#include <security/vboot/vboot_common.h>
-#include <vboot_struct.h>
#include "chromeos.h"
#include "gnvs.h"