summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-05-19 09:50:52 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-27 04:44:31 +0000
commita3881b5632d2371374a69bcea64688d64c231e58 (patch)
treeadee24ff65362f63543a47fec734b69729d79a79 /board
parent2f49516dd133f850eea302cc849725731185c119 (diff)
downloadchrome-ec-a3881b5632d2371374a69bcea64688d64c231e58.tar.gz
test: Add scratchpad test
The first time the test runs it should pass. After rebooting, the test should then fail because the scratchpad register is already set. BRANCH=none BUG=b:157059753 TEST=Build and flash bloonchipper On console: > runtest => PASS > reboot > runtest => PASS, which is WRONG TEST=Build and flash dartmonkey On console: > runtest => PASS > reboot > runtest => FAILS, which is CORRECT Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I348d723d8083ecd0d9f5535785c8049f284a00b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2209189 Commit-Queue: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/hatch_fp/build.mk1
-rw-r--r--board/nocturne_fp/build.mk1
-rw-r--r--board/nucleo-f412zg/build.mk1
-rw-r--r--board/nucleo-h743zi/build.mk1
4 files changed, 4 insertions, 0 deletions
diff --git a/board/hatch_fp/build.mk b/board/hatch_fp/build.mk
index 54c7fe05e7..48ed6d2aae 100644
--- a/board/hatch_fp/build.mk
+++ b/board/hatch_fp/build.mk
@@ -21,6 +21,7 @@ test-list-y=\
rollback \
rollback_entropy \
rtc \
+ scratchpad \
sha256 \
sha256_unrolled \
stm32f_rtc \
diff --git a/board/nocturne_fp/build.mk b/board/nocturne_fp/build.mk
index 89aa12a002..d11c25c805 100644
--- a/board/nocturne_fp/build.mk
+++ b/board/nocturne_fp/build.mk
@@ -22,6 +22,7 @@ test-list-y=\
rollback \
rollback_entropy \
rtc \
+ scratchpad \
sha256 \
sha256_unrolled \
stm32f_rtc \
diff --git a/board/nucleo-f412zg/build.mk b/board/nucleo-f412zg/build.mk
index 31c6d52799..17be2a15bf 100644
--- a/board/nucleo-f412zg/build.mk
+++ b/board/nucleo-f412zg/build.mk
@@ -19,6 +19,7 @@ test-list-y=\
rollback \
rollback_entropy \
rtc \
+ scratchpad \
sha256 \
sha256_unrolled \
stm32f_rtc \
diff --git a/board/nucleo-h743zi/build.mk b/board/nucleo-h743zi/build.mk
index 018a67c030..25d76458d2 100644
--- a/board/nucleo-h743zi/build.mk
+++ b/board/nucleo-h743zi/build.mk
@@ -19,5 +19,6 @@ test-list-y=\
rollback \
rollback_entropy \
rtc \
+ scratchpad \
sha256 \
sha256_unrolled \