diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2021-03-15 10:25:50 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-16 00:58:27 +0000 |
commit | 5cc244149f9d2f2502860bb7fc718676001c3d26 (patch) | |
tree | 6b6c59e84c5b960630c2a9c2fd0fd27247706f82 | |
parent | 0d027cb3df7ba500fed6b5e04e31ea7096b4554a (diff) | |
download | chrome-ec-5cc244149f9d2f2502860bb7fc718676001c3d26.tar.gz |
voxel, drobit: Create EC mode entry builds
Disable AP-driven mode entry to facilitate regression testing. Also
remove now-unused voxel_apmodeentry build.
BUG=b:181144682
TEST=make BOARD=voxel_ecmodeentry; make BOARD=drobit_ecmodeentry
TEST=Inspect .config files
BRANCH=firmware-volteer-13672.B-main
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I5e52a46013315db4415a3255c12cd0fcd39354bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2760804
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | board/drobit/board.h | 3 | ||||
l--------- | board/drobit_ecmodeentry | 1 | ||||
-rw-r--r-- | board/voxel/board.h | 3 | ||||
l--------- | board/voxel_ecmodeentry (renamed from board/voxel_apmodeentry) | 0 |
4 files changed, 7 insertions, 0 deletions
diff --git a/board/drobit/board.h b/board/drobit/board.h index 61c89442b0..2f3b023622 100644 --- a/board/drobit/board.h +++ b/board/drobit/board.h @@ -62,6 +62,9 @@ #define PD_MAX_VOLTAGE_MV 20000 #define CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY +#ifdef BOARD_DROBIT_ECMODEENTRY +#undef CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY +#endif /* Enabling Thunderbolt-compatible mode */ #define CONFIG_USB_PD_TBT_COMPAT_MODE diff --git a/board/drobit_ecmodeentry b/board/drobit_ecmodeentry new file mode 120000 index 0000000000..c3ab5c1706 --- /dev/null +++ b/board/drobit_ecmodeentry @@ -0,0 +1 @@ +drobit
\ No newline at end of file diff --git a/board/voxel/board.h b/board/voxel/board.h index bf92358030..dabd6ebe14 100644 --- a/board/voxel/board.h +++ b/board/voxel/board.h @@ -77,6 +77,9 @@ #define PD_MAX_VOLTAGE_MV 20000 #define CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY +#ifdef BOARD_VOXEL_ECMODEENTRY +#undef CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY +#endif /* Enabling Thunderbolt-compatible mode */ #define CONFIG_USB_PD_TBT_COMPAT_MODE diff --git a/board/voxel_apmodeentry b/board/voxel_ecmodeentry index 082df00bc3..082df00bc3 120000 --- a/board/voxel_apmodeentry +++ b/board/voxel_ecmodeentry |