diff options
author | Joel Kitching <kitching@google.com> | 2021-04-22 21:11:50 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-15 19:35:55 +0000 |
commit | da50d8587ae24b1a5e7528dde1ead5523e78f6b2 (patch) | |
tree | 36f5fa76495c54d6421d8221b25146a86670f9ec /utility/load_kernel_test.c | |
parent | 43fa783cbf6014d23d8b23b5eb7b4e63b17864ec (diff) | |
download | vboot-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 'utility/load_kernel_test.c')
-rw-r--r-- | utility/load_kernel_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c index c8f38f5b..cad82fd0 100644 --- a/utility/load_kernel_test.c +++ b/utility/load_kernel_test.c @@ -26,7 +26,7 @@ static struct vb2_context *ctx; static struct vb2_shared_data *sd; /* Global variables for stub functions */ -static LoadKernelParams lkp; +static VbSelectAndLoadKernelParams lkp; static VbDiskInfo disk_info; static FILE *image_file = NULL; @@ -100,7 +100,7 @@ int main(int argc, char* argv[]) int errorcnt = 0; char *e = 0; - memset(&lkp, 0, sizeof(LoadKernelParams)); + memset(&lkp, 0, sizeof(VbSelectAndLoadKernelParams)); disk_info.bytes_per_lba = LBA_BYTES; int boot_flags = BOOT_FLAG_RECOVERY; |