summaryrefslogtreecommitdiff
path: root/board/eve/board.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-07-23 00:33:06 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-27 14:29:08 +0000
commit38285ff21c3da34e8c9ae1c33bc7623ef7447195 (patch)
tree4956dbebf122b8fc0131fa976b35147ab1cb19b9 /board/eve/board.h
parente56c0395e5a590939e0b8610e9be9e7fbf58a3f5 (diff)
downloadchrome-ec-38285ff21c3da34e8c9ae1c33bc7623ef7447195.tar.gz
eve: Enable USB_PD_COMM_LOCKED
Removing CONFIG_SYSTEM_UNLOCKED is not enough to lock down PD communication in RO when the system is write protected, this option must also be enabled. BUG=b:63957122 BRANCH=eve TEST=manual testing with WP enabled system to ensure that it does not do PD negotiation in RO Change-Id: I8fbfaa0a3fb2d97b9484688ed6767bf70e8f4759 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/582541 Reviewed-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2320001 Tested-by: Patryk Duda <pdk@semihalf.com> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Patryk Duda <pdk@semihalf.com>
Diffstat (limited to 'board/eve/board.h')
-rw-r--r--board/eve/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/eve/board.h b/board/eve/board.h
index 9ec580773e..de2d802b55 100644
--- a/board/eve/board.h
+++ b/board/eve/board.h
@@ -150,6 +150,7 @@
#define CONFIG_USB_CHARGER
#define CONFIG_USB_PD_ALT_MODE
#define CONFIG_USB_PD_ALT_MODE_DFP
+#define CONFIG_USB_PD_COMM_LOCKED
#define CONFIG_USB_PD_DISCHARGE_TCPC
#define CONFIG_USB_PD_DUAL_ROLE
#define CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE