aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Zhang <zhakevin@google.com>2022-07-26 15:39:01 -0700
committerKevin Zhang <zhakevin@google.com>2022-07-27 17:27:43 +0000
commit02bdc6d1ce7c9f3ae5995f62d34574707c030564 (patch)
tree42f5f565c342ed030016c1cbc1c19e1926a95288
parent3c1de3e64c35e27323ee4873f22fca697936fe77 (diff)
downloadgeneric-02bdc6d1ce7c9f3ae5995f62d34574707c030564.tar.gz
Add test command for SPI UAF bug
Bug: 240287277 Test: Manual Signed-off-by: Kevin Zhang <zhakevin@google.com> Change-Id: I437deac4cb298b47966f6e44adccc0a388d6c1de Reviewed-on: https://nugget-os-review.googlesource.com/c/host/generic/+/53465 Reviewed-by: Brian Murray <brianjmurray@google.com> Presubmit-Verified: TreeHugger Robot <android-build-prod@system.gserviceaccount.com>
-rw-r--r--nugget/include/app_transport_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nugget/include/app_transport_test.h b/nugget/include/app_transport_test.h
index 0c0b4ba..821ebb8 100644
--- a/nugget/include/app_transport_test.h
+++ b/nugget/include/app_transport_test.h
@@ -21,5 +21,6 @@
#define TRANSPORT_TEST_1234 8 /* Returns 0x01020304 successfully */
#define TRANSPORT_TEST_9876 9 /* Only successful if the arg is 0x09080706 */
#define TRANSPORT_TEST_HANG 12 /* Forgets to call app_reply() */
+#define TRANSPORT_TEST_ECHO_2 13 /* Echoes back 2 bytes received by host */
#endif /* __CROS_EC_INCLUDE_APP_TRANSPORT_TEST_H */