summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-02-25 16:44:13 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-02 17:38:57 +0000
commitb3fc5760c5b8b74766eeb771275a6e2b0441c0f5 (patch)
tree68f76fcf0fb1e96882b44fc939e4d4542eb964af
parent168cfcc49249992c8db7ccc2008aecba49595720 (diff)
downloadchrome-ec-b3fc5760c5b8b74766eeb771275a6e2b0441c0f5.tar.gz
voxel: Enable AP-driven alt mode entry
Wait for the AP to direct the EC to enter USB PD alternate modes. BUG=b:150611251,b:181144682 TEST=make buildall; observe alt mode entry BRANCH=firmware-volteer-13672.B-main Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I832f69b6ed58d3502b9f6be054f295a95f94f62b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2727838 Tested-by: Prashant Malani <pmalani@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--board/voxel/board.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/board/voxel/board.h b/board/voxel/board.h
index f0ee8fe860..def9fcd153 100644
--- a/board/voxel/board.h
+++ b/board/voxel/board.h
@@ -11,14 +11,6 @@
/* Baseboard features */
#include "baseboard.h"
-/*
- * Create an EC build that requires AP-driven mode entry to facilitate debugging
- * b/177105656.
- */
-#ifdef BOARD_VOXEL_APMODEENTRY
-#define CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY
-#endif
-
/* Optional features */
#undef NPCX7_PWM1_SEL
#define NPCX7_PWM1_SEL 0 /* GPIO C2 is not used as PWM1. */
@@ -84,6 +76,8 @@
#define PD_MAX_CURRENT_MA 3000
#define PD_MAX_VOLTAGE_MV 20000
+#define CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY
+
/* Enabling Thunderbolt-compatible mode */
#define CONFIG_USB_PD_TBT_COMPAT_MODE