summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/voxel/board.h8
l---------board/voxel_apmodeentry1
2 files changed, 9 insertions, 0 deletions
diff --git a/board/voxel/board.h b/board/voxel/board.h
index f66a09becc..83a3c8e211 100644
--- a/board/voxel/board.h
+++ b/board/voxel/board.h
@@ -11,6 +11,14 @@
/* 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. */
diff --git a/board/voxel_apmodeentry b/board/voxel_apmodeentry
new file mode 120000
index 0000000000..082df00bc3
--- /dev/null
+++ b/board/voxel_apmodeentry
@@ -0,0 +1 @@
+voxel \ No newline at end of file