summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2017-11-27 15:37:13 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-12-11 15:16:25 -0800
commitdff5852c2f41c240842b49549b212c36287d5e26 (patch)
tree20f31422c7dd6868ce58b156634ab5290963acfc /utility
parent626340420e2ebc42f8f24b0b2c3d56cc73dc6e60 (diff)
downloadvboot-dff5852c2f41c240842b49549b212c36287d5e26.tar.gz
vboot: Use 2nvstorage instead of vboot_nvstorage
Remove the old vboot1 vboot_nvstorage library (VbNv*() functions) and use the vboot2 library (vb2_nv_*()) instead. This is needed in preparation for moving to 64-byte records; no sense in implementing that change twice... Should be (better be) no change in system behavior. BUG=chromium:789276 BRANCH=none TEST=make runtests compare output of crossystem before/after change (should be identical) Change-Id: I10f9975b0824263064b9a74a3c6daadcecc085d3 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/794732
Diffstat (limited to 'utility')
-rw-r--r--utility/load_kernel_test.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index 769c24c5..517a13ff 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -30,7 +30,6 @@
/* Global variables for stub functions */
static LoadKernelParams lkp;
static VbCommonParams cparams;
-static VbNvContext vnc;
static FILE *image_file = NULL;
@@ -97,9 +96,6 @@ int main(int argc, char* argv[]) {
memset(&lkp, 0, sizeof(LoadKernelParams));
lkp.bytes_per_lba = LBA_BYTES;
int boot_flags = BOOT_FLAG_RECOVERY;
- memset(&vnc, 0, sizeof(VbNvContext));
- VbNvSetup(&vnc);
- lkp.nv_context = &vnc;
memset(&cparams, 0, sizeof(VbCommonParams));
/* Parse options */