summaryrefslogtreecommitdiff
path: root/test/flash_write_protect.tasklist
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-05-18 14:49:43 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-30 05:16:45 +0000
commit5a2c16ee17339b96eef8351157673253738b461b (patch)
tree20c58304edca68e7ef2edda3b43bec402d49d725 /test/flash_write_protect.tasklist
parenta832f50a83e6d897cf22f306b4e01da4ee40fe4e (diff)
downloadchrome-ec-5a2c16ee17339b96eef8351157673253738b461b.tar.gz
test: Add test for flash write protection
This test demonstrates the inconsistency between STM32H743 (dartmonkey) and STM32F412 (bloonchipper). BRANCH=none BUG=b:155897971 TEST=On bloonchipper after flashing flash_write_protect.bin test: * Enable HW WP: dut-control fw_wp_en:on * Reboot to RO: reboot ro * Enable flash protection: runtest 1 => PASS * Reboot to RO: reboot ro * Try to disable flash protection: runtest 2 => FAIL TEST=On dartmonkey after flashing flash_write_protect.bin test: * Enable HW WP: dut-control fw_wp_en:on * Reboot to RO: reboot ro * Enable flash protection: runtest 1 => PASS * Reboot to RO: reboot ro * Try to disable flash protection: runtest 2 => PASS Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I6eb69257f84f79a6609984efbdad7dd37803c8f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2209419 Commit-Queue: Yicheng Li <yichengli@chromium.org> Tested-by: Yicheng Li <yichengli@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test/flash_write_protect.tasklist')
-rw-r--r--test/flash_write_protect.tasklist9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/flash_write_protect.tasklist b/test/flash_write_protect.tasklist
new file mode 100644
index 0000000000..51734f058d
--- /dev/null
+++ b/test/flash_write_protect.tasklist
@@ -0,0 +1,9 @@
+/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * See CONFIG_TASK_LIST in config.h for details.
+ */
+#define CONFIG_TEST_TASK_LIST /* no tasks */