summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-01-15 12:12:14 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-22 00:01:53 +0000
commit2034650b0b3aeb6685f26334491e9f5cacbe915e (patch)
tree9c5b3a686fb9a2a0db0cd8452f07f4183d424ff6 /test/test_config.h
parentea4a53732db48588bb77f853e574d52b0b70a528 (diff)
downloadchrome-ec-2034650b0b3aeb6685f26334491e9f5cacbe915e.tar.gz
TCPMv2: Test that PE ignores invalid BIST requests
Send the PE BIST requests with inappropriate VBUS voltages or inappropriate BIST modes. Verify that the PE ignores them. BUG=b:173023378,b:169385081,b:172709198,b:173028832,b:173028791 BUG=b:173141941,b:173142113 TEST=run-usb_pe_drp passes BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I240ff6746debcf49934419940ab4f49b54e2b7e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639585 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_config.h b/test/test_config.h
index 89ee2ba3fa..c240021501 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -418,7 +418,9 @@ int ncp15wb_calculate_temp(uint16_t adc);
#undef CONFIG_USB_PD_HOST_CMD
#define CONFIG_USB_PD_ALT_MODE_DFP
#define CONFIG_USBC_SS_MUX
-#endif
+#define I2C_PORT_HOST_TCPC 0
+#define CONFIG_CHARGE_MANAGER
+#endif /* TEST_USB_PE_DRP || TEST_USB_PE_DRP_NOEXTENDED */
/* Common TypeC tests defines */
#if defined(TEST_USB_TYPEC_VPD) || \