summaryrefslogtreecommitdiff
path: root/board/volteer/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/volteer/board.h')
-rw-r--r--board/volteer/board.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h
index f1903cad36..45f8092453 100644
--- a/board/volteer/board.h
+++ b/board/volteer/board.h
@@ -11,6 +11,14 @@
/* Baseboard features */
#include "baseboard.h"
+#ifdef BOARD_VOLTEER_TCPMV1
+/* Disable TCPMv2 configuration options */
+#undef CONFIG_USB_PD_TCPMV2
+
+/* Enable the required TCPMv1 options */
+#define CONFIG_USB_PD_TCPMV1
+#endif
+
/* Optional features */
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */