Joel Kitching has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38884 )
Change subject: vboot: fix up some includes ......................................................................
vboot: fix up some includes
These header files need to make use of vb2_shared_data. Remove the last vestiges of vboot1 in coreboot.
BUG=b:124141368, chromium:1038260 TEST=Build locally with CL:2054269 TEST=make clean && make test-abuild BRANCH=none
Change-Id: I61b27e33751c11aac9f8af261a75d83b003b5f92 Signed-off-by: Joel Kitching kitching@google.com --- M src/security/vboot/misc.h M src/security/vboot/vboot_common.h 2 files changed, 2 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/38884/1
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h index 2d5b084..324af5c 100644 --- a/src/security/vboot/misc.h +++ b/src/security/vboot/misc.h @@ -18,9 +18,7 @@
#include <assert.h> #include <security/vboot/vboot_common.h> - -struct vb2_context; -struct vb2_shared_data; +#include <vb2_api.h>
/* * Source: security/vboot/common.c diff --git a/src/security/vboot/vboot_common.h b/src/security/vboot/vboot_common.h index 976c26a..57f3475 100644 --- a/src/security/vboot/vboot_common.h +++ b/src/security/vboot/vboot_common.h @@ -17,8 +17,7 @@
#include <commonlib/region.h> #include <stdint.h> -#include <vboot_api.h> -#include <vboot_struct.h> +#include <vb2_api.h>
/* * Function to check if there is a request to enter recovery mode. Returns
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38884 )
Change subject: vboot: fix up some includes ......................................................................
Patch Set 1:
src/security/vboot/ec_sync.c:424:16: error: unknown type name 'VbScreenData'
Hello Aaron Durbin, Julius Werner, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38884
to look at the new patch set (#2).
Change subject: vboot: fix up some includes ......................................................................
vboot: fix up some includes
These header files need to make use of vb2_shared_data. Remove the last vestiges of vboot1 data structures in coreboot.
BUG=b:124141368, chromium:1038260 TEST=Build locally with CL:2054269 TEST=make clean && make test-abuild BRANCH=none
Change-Id: I61b27e33751c11aac9f8af261a75d83b003b5f92 Signed-off-by: Joel Kitching kitching@google.com --- M src/security/vboot/ec_sync.c M src/security/vboot/misc.h M src/security/vboot/vboot_common.h 3 files changed, 3 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/38884/2
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38884 )
Change subject: vboot: fix up some includes ......................................................................
Patch Set 2: Code-Review+2
LGTM if build success.
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38884 )
Change subject: vboot: fix up some includes ......................................................................
Patch Set 2: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38884 )
Change subject: vboot: fix up some includes ......................................................................
vboot: fix up some includes
These header files need to make use of vb2_shared_data. Remove the last vestiges of vboot1 data structures in coreboot.
BUG=b:124141368, chromium:1038260 TEST=Build locally with CL:2054269 TEST=make clean && make test-abuild BRANCH=none
Change-Id: I61b27e33751c11aac9f8af261a75d83b003b5f92 Signed-off-by: Joel Kitching kitching@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/38884 Reviewed-by: Hung-Te Lin hungte@chromium.org Reviewed-by: Patrick Georgi pgeorgi@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/security/vboot/ec_sync.c M src/security/vboot/misc.h M src/security/vboot/vboot_common.h 3 files changed, 3 insertions(+), 5 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved Hung-Te Lin: Looks good to me, approved
diff --git a/src/security/vboot/ec_sync.c b/src/security/vboot/ec_sync.c index ecceff5..f4f9c23 100644 --- a/src/security/vboot/ec_sync.c +++ b/src/security/vboot/ec_sync.c @@ -23,6 +23,7 @@ #include <timer.h> #include <timestamp.h> #include <vb2_api.h> +#include <vboot_api.h>
#define _EC_FILENAME(select, suffix) \ (select == VB_SELECT_FIRMWARE_READONLY ? "ecro" suffix : "ecrw" suffix) diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h index 2d5b084..324af5c 100644 --- a/src/security/vboot/misc.h +++ b/src/security/vboot/misc.h @@ -18,9 +18,7 @@
#include <assert.h> #include <security/vboot/vboot_common.h> - -struct vb2_context; -struct vb2_shared_data; +#include <vb2_api.h>
/* * Source: security/vboot/common.c diff --git a/src/security/vboot/vboot_common.h b/src/security/vboot/vboot_common.h index 976c26a..57f3475 100644 --- a/src/security/vboot/vboot_common.h +++ b/src/security/vboot/vboot_common.h @@ -17,8 +17,7 @@
#include <commonlib/region.h> #include <stdint.h> -#include <vboot_api.h> -#include <vboot_struct.h> +#include <vb2_api.h>
/* * Function to check if there is a request to enter recovery mode. Returns
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38884 )
Change subject: vboot: fix up some includes ......................................................................
Patch Set 3:
Automatic boot test returned (PASS/FAIL/TOTAL): 3/0/3 Emulation targets: EMULATION_QEMU_X86_Q35 using payload TianoCore : SUCCESS : https://lava.9esec.io/r/592 EMULATION_QEMU_X86_Q35 using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/591 EMULATION_QEMU_X86_I440FX using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/590
Please note: This test is under development and might not be accurate at all!