summaryrefslogtreecommitdiff
path: root/tests/vboot_api_kernel3_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vboot_api_kernel3_tests.c')
-rw-r--r--tests/vboot_api_kernel3_tests.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/vboot_api_kernel3_tests.c b/tests/vboot_api_kernel3_tests.c
index fa13d4e9..cefbf416 100644
--- a/tests/vboot_api_kernel3_tests.c
+++ b/tests/vboot_api_kernel3_tests.c
@@ -74,7 +74,7 @@ static void ResetMocks(void)
trust_ec = 0;
mock_in_rw = 0;
ec_protected = 0;
- ec_run_image = -1; /* 0 = RO, 1 = RW */
+ ec_run_image = 0; /* 0 = RO, 1 = RW */
ec_updated = 0;
in_rw_retval = VBERROR_SUCCESS;
protect_retval = VBERROR_SUCCESS;
@@ -129,9 +129,8 @@ VbError_t VbExEcProtectRW(void)
return protect_retval;
}
-VbError_t VbExEcStayInRO(void)
+VbError_t VbExEcDisableJump(void)
{
- ec_run_image = 0;
return run_retval;
}