summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-03-31 13:44:28 -0600
committerJett Rink <jettrink@chromium.org>2020-04-03 17:06:28 +0000
commit736db12af829d826f0a1247b6a787fcc56d2b060 (patch)
tree044e90f6837e797f9f495cf005bfb1a4b35d1df7 /test/test_config.h
parenta08de50a749ab4ec09ad2b7b32b1605f49d8a5c6 (diff)
downloadchrome-ec-736db12af829d826f0a1247b6a787fcc56d2b060.tar.gz
tcpmv2: move function from TC layer to PE
- Move pd_ function that belong in PE layer to PE layer. Remove the extra pe_ layer. - Remove unnecessary PE and Vconn ifdef guards in TC layer - Remove unused print_dev_info function - Move host commands in TC layer to host command file - Move RW hash stuff from TC to PE, since this only has to do with VDO (Which is a PE layer thing) - Removed dependency for tc_drp test on usbc_fake as we don't really need it anymore once we don't pull in the PRL and PE layers anymore (based on previously landed CLs) BRANCH=none BUG=b:153071799 TEST=everything still builds and passes tests Change-Id: Id1d1efa291c3525f57bc26af9fddda6ddace1b58 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2132871
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index 626cacccc5..cefaf55974 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -316,6 +316,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USB_PD_TCPMV2
#undef CONFIG_USB_PE_SM
#undef CONFIG_USB_TYPEC_SM
+#undef CONFIG_USB_PD_HOST_CMD
#define CONFIG_USB_PRL_SM
#define CONFIG_USB_PD_TCPC
#define CONFIG_USB_PD_TCPM_STUB
@@ -336,6 +337,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USBC_VCONN
#define PD_VCONN_SWAP_DELAY 5000 /* us */
#define CONFIG_USB_PD_DISCHARGE_GPIO
+#undef CONFIG_USB_PD_HOST_CMD
#endif
/* Common TypeC tests defines */
@@ -361,6 +363,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USB_PD_TCPM_STUB
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_SW_CRC
+#undef CONFIG_USB_PD_HOST_CMD
#endif /* Common TypeC test defines */
#ifdef TEST_USB_TYPEC_VPD
@@ -383,6 +386,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USB_POWER_DELIVERY
#undef CONFIG_USB_PRL_SM
#undef CONFIG_USB_PE_SM
+#undef CONFIG_USB_PD_HOST_CMD
#endif
#ifdef TEST_USB_PD_INT