summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_api_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 /firmware/lib/vboot_api_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 'firmware/lib/vboot_api_kernel.c')
-rw-r--r--firmware/lib/vboot_api_kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c
index f1e191a1..541cd028 100644
--- a/firmware/lib/vboot_api_kernel.c
+++ b/firmware/lib/vboot_api_kernel.c
@@ -21,11 +21,11 @@
#include "vboot_test.h"
/* Global variables */
-static LoadKernelParams lkp;
+static VbSelectAndLoadKernelParams lkp;
#ifdef CHROMEOS_ENVIRONMENT
/* Global variable accessor for unit tests */
-struct LoadKernelParams *VbApiKernelGetParams(void)
+struct VbSelectAndLoadKernelParams *VbApiKernelGetParams(void)
{
return &lkp;
}