summaryrefslogtreecommitdiff
path: root/firmware/linktest/main.c
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 /firmware/linktest/main.c
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 'firmware/linktest/main.c')
-rw-r--r--firmware/linktest/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/linktest/main.c b/firmware/linktest/main.c
index 0811d81d..a170131c 100644
--- a/firmware/linktest/main.c
+++ b/firmware/linktest/main.c
@@ -11,7 +11,6 @@
#include "tlcl.h"
#include "vboot_common.h"
#include "vboot_kernel.h"
-#include "vboot_nvstorage.h"
int main(void)
@@ -71,10 +70,5 @@ int main(void)
VbSharedDataReserve(0, 0);
VbSharedDataSetKernelKey(0, 0);
- VbNvSetup(0);
- VbNvGet(0, 0, 0);
- VbNvSet(0, 0, 0);
- VbNvTeardown(0);
-
return 0;
}