summaryrefslogtreecommitdiff
path: root/fuzz/fuzz_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzz_config.h')
-rw-r--r--fuzz/fuzz_config.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/fuzz/fuzz_config.h b/fuzz/fuzz_config.h
index 49b5a192d3..f4c325bd99 100644
--- a/fuzz/fuzz_config.h
+++ b/fuzz/fuzz_config.h
@@ -106,7 +106,7 @@ enum nvmem_users {
#endif /* TEST_HOST_COMMAND_FUZZ */
-#if defined(TEST_USB_PD_FUZZ)
+#ifdef TEST_USB_PD_FUZZ
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_USB_PD_DUAL_ROLE
#define CONFIG_USB_PD_PORT_COUNT 2
@@ -114,5 +114,22 @@ enum nvmem_users {
#define CONFIG_SW_CRC
#endif /* TEST_USB_PD_FUZZ */
+#ifdef TEST_USB_TCPM_V2_FUZZ
+#define CONFIG_USB_PD_DUAL_ROLE
+#define CONFIG_USB_PD_PORT_COUNT 2
+#define CONFIG_USB_PD_TCPC_LOW_POWER
+#define CONFIG_USB_PD_TRY_SRC
+#define CONFIG_USB_PID 0x5555
+#define CONFIG_USB_POWER_DELIVERY
+#define CONFIG_USB_PRL_SM
+#define CONFIG_USB_SM_FRAMEWORK
+#define CONFIG_USB_TYPEC_DRP_ACC_TRYSRC
+#define CONFIG_USBC_VCONN
+#define CONFIG_USBC_VCONN_SWAP
+#define PD_VCONN_SWAP_DELAY 5000
+#define CONFIG_SHA256
+#define CONFIG_SW_CRC
+#endif /* TEST_USB_TCPM_V2_FUZZ */
+
#endif /* TEST_FUZZ */
#endif /* __FUZZ_FUZZ_CONFIG_H */