summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-03-31 13:45:53 -0600
committerCommit Bot <commit-bot@chromium.org>2020-04-01 18:36:50 +0000
commitb5bfa22ec42b7936d02821b0e50c1cf91fb7f279 (patch)
tree65ce457fe43aaacbc333fcb196f0c46ae090040a
parentced16b95b2ada60c38b07b905b94ed9d236e78fb (diff)
downloadchrome-ec-b5bfa22ec42b7936d02821b0e50c1cf91fb7f279.tar.gz
cleanup: correct max port count on test
Looking at code, we only test one port, so make the test defines match the test code BRANCH=none BUG=none TEST=all tests pass Change-Id: I0b793425e20678173f3ec52fdcff4567f0b8ccb4 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2131047 Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r--test/test_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_config.h b/test/test_config.h
index eafc524180..626cacccc5 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -312,7 +312,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#endif
#if defined(TEST_USB_PRL)
-#define CONFIG_USB_PD_PORT_MAX_COUNT 2
+#define CONFIG_USB_PD_PORT_MAX_COUNT 1
#define CONFIG_USB_PD_TCPMV2
#undef CONFIG_USB_PE_SM
#undef CONFIG_USB_TYPEC_SM