diff options
author | Keith Short <keithshort@chromium.org> | 2020-06-12 09:24:35 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-18 05:54:27 +0000 |
commit | 9b06d16be703a07c148fff571e1bb37c4a99fd70 (patch) | |
tree | 65845cac6da90f8b45e137f133a226001739e121 /board/volteer | |
parent | 3bb7d7b0e62a5845ba137446b4083c32a83240c9 (diff) | |
download | chrome-ec-9b06d16be703a07c148fff571e1bb37c4a99fd70.tar.gz |
Volteer: create new board target for TCPMv1
USB4 an Thunderbolt support is not complete in the TCPMv2 stack. Create
a new board project called "volteer_tcpmv1" that can be used to continue
developing USB4 and Thunderbolt support in the BIOS and kernel.
BUG=b:145756626
BRANCH=none
TEST=make buildall
TEST=make BOARD=volteer, confirm image uses TCPMv2 stack
TEST=make BOARD=volteer_tcpmv1, confirm image uses TCPMv1 stack
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I975f9c6af037dc344a0f4e4fb573a9400ca6bb49
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2243317
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board/volteer')
-rw-r--r-- | board/volteer/board.h | 8 |
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. */ |