From 7ec7e0d4a16e43f7210ac22a041e975fcc461da1 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Sun, 10 Apr 2016 16:25:27 -0700 Subject: [PATCH] chell / kunimitsu / lars: Enable CONFIG_USB_PD_COMM_LOCKED Enable CONFIG_USB_PD_COMM_LOCKED to disable PD communication in locked RO. BUG=chrome-os-partner:52157 TEST=Manual on chell. Lock system and boot to recovery, then verify PD communication isn't functional/ BRANCH=None Signed-off-by: Shawn Nematbakhsh Change-Id: I168997d4be2471283f5f53a3ff9eaacfb871ab65 Reviewed-on: https://chromium-review.googlesource.com/338065 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Randall Spangler Reviewed-by: Duncan Laurie --- board/chell/board.h | 1 + board/kunimitsu/board.h | 1 + board/lars/board.h | 1 + 3 files changed, 3 insertions(+) diff --git a/board/chell/board.h b/board/chell/board.h index 02eacf5c9e..66e360555d 100644 --- a/board/chell/board.h +++ b/board/chell/board.h @@ -71,6 +71,7 @@ #define CONFIG_USB_POWER_DELIVERY #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_DUAL_ROLE #define CONFIG_USB_PD_LOGGING diff --git a/board/kunimitsu/board.h b/board/kunimitsu/board.h index e3ac065e21..a26eb55e40 100644 --- a/board/kunimitsu/board.h +++ b/board/kunimitsu/board.h @@ -78,6 +78,7 @@ #define CONFIG_USB_POWER_DELIVERY #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_DUAL_ROLE #define CONFIG_USB_PD_LOGGING diff --git a/board/lars/board.h b/board/lars/board.h index 6b8c72e67d..e79ef88f54 100644 --- a/board/lars/board.h +++ b/board/lars/board.h @@ -82,6 +82,7 @@ #define CONFIG_USB_POWER_DELIVERY #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_DUAL_ROLE #define CONFIG_USB_PD_LOGGING