summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-12-20 20:26:59 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-23 19:19:31 -0800
commit90b6c047fbfc50b6c85b5a0fd85482b50b131b86 (patch)
treeebb1ac57a6f4cbeed43e8062822ec6ccd4029905
parentd402ce797ef96de1ed58e7cf0728b2eb118b066d (diff)
downloadchrome-ec-90b6c047fbfc50b6c85b5a0fd85482b50b131b86.tar.gz
atlas: disable PD communication when EC is locked
this config option disables PD communication when the EC is still running in RO and the system is "locked". for now, atlas is still configured to be unlocked, so changing this config will not affect PD negotiation. BUG=b:121222819 BRANCH=none TEST=verified we still charge at 15v in RO Change-Id: I389b6c7e3bef9c348f929b84240370d8a7930644 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1387999 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Caveh Jalali <caveh@google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/atlas/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/atlas/board.h b/board/atlas/board.h
index bebf4444c8..66c217b9c2 100644
--- a/board/atlas/board.h
+++ b/board/atlas/board.h
@@ -129,6 +129,7 @@
/* USB */
#define CONFIG_USB_PD_ALT_MODE
#define CONFIG_USB_PD_ALT_MODE_DFP
+#define CONFIG_USB_PD_COMM_LOCKED
#define CONFIG_USB_PD_CUSTOM_VDM
#define CONFIG_USB_PD_DISCHARGE
#define CONFIG_USB_PD_DISCHARGE_TCPC