From d2e77ddbc913a34c14e87eaa9c3104f62ec40142 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Sun, 10 Apr 2016 15:46:39 -0700 Subject: pd: Add config to disable PD communication in locked RO The scheme to disable PD communication in locked RO needs to be implemented on other platforms, so move it to common code, behind CONFIG_USB_PD_COMM_LOCKED. BUG=chrome-os-partner:52157 BRANCH=glados TEST=Manual on chell. Lock system and boot to recovery, then verify PD communication is functional. Enable CONFIG_USB_PD_COMM_LOCKED and verify PD communication isn't functional under the same test conditions. Signed-off-by: Shawn Nematbakhsh Change-Id: I8d1f24c0b60cf1c54e329af003b7083ee55ffc40 Reviewed-on: https://chromium-review.googlesource.com/338064 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Randall Spangler Reviewed-by: Duncan Laurie --- board/plankton/board.h | 1 - 1 file changed, 1 deletion(-) (limited to 'board/plankton/board.h') diff --git a/board/plankton/board.h b/board/plankton/board.h index 425216360a..1fc193d35d 100644 --- a/board/plankton/board.h +++ b/board/plankton/board.h @@ -20,7 +20,6 @@ #define CONFIG_USB_POWER_DELIVERY #define CONFIG_USB_PD_ALT_MODE #undef CONFIG_USB_PD_COMM_ENABLED -#define CONFIG_USB_PD_COMM_ENABLED 0 #define CONFIG_USB_PD_CUSTOM_VDM #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_DYNAMIC_SRC_CAP -- cgit v1.2.1