summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-03-15 10:25:50 -0600
committerCommit Bot <commit-bot@chromium.org>2021-03-17 22:56:49 +0000
commit08cdfcfa7436c43b651ba3005ab77b0f263a71c9 (patch)
treed19e8c663ae55470a47347e7afb37dafc687a431 /board
parent07d5923ce3f239c46b89169c04ab85a25508c9a9 (diff)
downloadchrome-ec-08cdfcfa7436c43b651ba3005ab77b0f263a71c9.tar.gz
Reland "voxel, drobit: Create EC mode entry builds"
This is a reland of 5cc244149f9d2f2502860bb7fc718676001c3d26 Original change's description: > 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> Bug: b:181144682 Change-Id: Id8b1e0031f917ed38e9adfa1408c6be6392fcd98 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2770187 Tested-by: Abe Levkoy <alevkoy@chromium.org> Auto-Submit: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/drobit/board.h3
l---------board/drobit_ecmodeentry1
-rw-r--r--board/voxel/board.h3
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