summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2018-03-02 15:34:39 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-03-04 15:57:57 -0800
commit7bb45097af1e8b5f2bcf8e7a8bc6557c6505693b (patch)
treea3a95dc8a8863990570d10348a8fe2f1d2c29f14 /tests
parent68ca41067083ee78f5e6b96ba0e2ce9a76cecd3b (diff)
downloadvboot-7bb45097af1e8b5f2bcf8e7a8bc6557c6505693b.tar.gz
firmware: Remove deprecated SW_WP_ENABLED flag
This was deprecated months ago in crossystem, and isn't set by depthcharge or coreboot. Remove the flag from vboot as well, keeping only a reminder in vboot_struct.h so we don't reuse the VbSharedData bit. BUG=chromium:742685 BRANCH=none TEST=make runtests Change-Id: Ifa928e8ec4d999c524c6f4168695859261f384c9 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/947256 Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ec_sync_tests.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/ec_sync_tests.c b/tests/ec_sync_tests.c
index 9becb7c3..eceae78f 100644
--- a/tests/ec_sync_tests.c
+++ b/tests/ec_sync_tests.c
@@ -295,18 +295,6 @@ static void VbSoftwareSyncTest(void)
TEST_EQ(ec_ro_updated, 1, " ec ro updated");
ResetMocks();
- ctx.flags |= VB2_CONTEXT_SW_WP_ENABLED;
- vb2_nv_set(&ctx, VB2_NV_TRY_RO_SYNC, 1);
- mock_ec_rw_hash[0]++;
- mock_ec_ro_hash[0]++;
- test_ssync(0, 0, "WP enabled");
- TEST_EQ(ec_rw_protected, 1, " ec rw protected");
- TEST_EQ(ec_run_image, 1, " ec run image");
- TEST_EQ(ec_rw_updated, 1, " ec rw updated");
- TEST_EQ(ec_ro_protected, 1, " ec ro protected");
- TEST_EQ(ec_ro_updated, 0, " ec ro updated");
-
- ResetMocks();
vb2_nv_set(&ctx, VB2_NV_TRY_RO_SYNC, 1);
mock_ec_ro_hash[0]++;
test_ssync(0, 0, "rw update not needed");