From 6fcd1c0481292b9df96f26bbb248248c697e2641 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Wed, 6 May 2015 09:53:32 -0700 Subject: pd: add config options for including TCPM and TCPC separately Add config options for various parts of USB PD stack: CONFIG_USB_POWER_DELIVERY: The use of this option has changed slightly. It now represents whether or not to include the USB PD protocol and policy layers of the software stack. CONFIG_USB_PD_TCPC: Compile in type-C port controller module which performs the phy layer of the PD stack. CONFIG_USB_PD_TCPM_STUB and CONFIG_USB_PD_TCPM_TCPCI: If CONFIG_USB_POWER_DELIVERY is defined, then one TCPM needs to be defined to declare which port management module to use to drive the TCPC. BUG=none BRANCH=none TEST=make -j buildall Change-Id: I41aa65a478e36925745cd37a6707f242c0dfbf91 Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/270171 Reviewed-by: Vincent Palatin --- board/twinkie/board.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/twinkie') diff --git a/board/twinkie/board.h b/board/twinkie/board.h index 992eeb83f1..d8550ff9cd 100644 --- a/board/twinkie/board.h +++ b/board/twinkie/board.h @@ -21,6 +21,8 @@ #define CONFIG_USB_POWER_DELIVERY #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_INTERNAL_COMP +#define CONFIG_USB_PD_TCPC +#define CONFIG_USB_PD_TCPM_STUB #define CONFIG_PD_USE_DAC_AS_REF #define CONFIG_HW_CRC -- cgit v1.2.1