summaryrefslogtreecommitdiff
path: root/tests/verify_kernel.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2021-04-22 21:11:50 +0800
committerCommit Bot <commit-bot@chromium.org>2021-06-15 19:35:55 +0000
commitda50d8587ae24b1a5e7528dde1ead5523e78f6b2 (patch)
tree36f5fa76495c54d6421d8221b25146a86670f9ec /tests/verify_kernel.c
parent43fa783cbf6014d23d8b23b5eb7b4e63b17864ec (diff)
downloadvboot-da50d8587ae24b1a5e7528dde1ead5523e78f6b2.tar.gz
vboot/vboot_kernel: remove LoadKernelParams struct
LoadKernelParams struct is identical to VbSelectAndLoadKernelParams. Remove it, and use the public interface internally. This CL is part of a series to merge vboot1 and vboot2.0 kernel verification code; see b/181739551. BUG=b:181739551 TEST=make clean && make runtests BRANCH=none Signed-off-by: Joel Kitching <kitching@google.com> Change-Id: I8b820d18c1e9a66404a7a091aa3ccc1b050a559d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2846282 Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests/verify_kernel.c')
-rw-r--r--tests/verify_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/verify_kernel.c b/tests/verify_kernel.c
index 7c2ce917..8fe969ef 100644
--- a/tests/verify_kernel.c
+++ b/tests/verify_kernel.c
@@ -23,7 +23,7 @@ static struct vb2_shared_data *sd;
static uint8_t *diskbuf;
-static LoadKernelParams params;
+static VbSelectAndLoadKernelParams params;
static VbDiskInfo disk_info;
vb2_error_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start,