From ff4eb7e092fb460d7eba58cb44300db7df2dd1de Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Tue, 5 Aug 2014 17:12:38 -0700 Subject: pd: add missing CONFIG_USB_PD_ options Add and undefine CONFIG_USB_PD_ options that were missing from config.h BUG=none BRANCH=none TEST=make -j buildall Signed-off-by: Alec Berg Change-Id: I0e5d64736f2f04794f226872eaafc0984b48f05e Reviewed-on: https://chromium-review.googlesource.com/211044 Reviewed-by: Vincent Palatin --- include/config.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/config.h b/include/config.h index 6a36c4c5a3..7a2627d1af 100644 --- a/include/config.h +++ b/include/config.h @@ -905,11 +905,20 @@ /*****************************************************************************/ /* USB PD config */ +/* Include all USB Power Delivery modules */ +#undef CONFIG_USB_POWER_DELIVERY + +/* Respond to custom vendor-defined messages over PD */ +#undef CONFIG_USB_PD_CUSTOM_VDM + +/* Define if this board can act as a dual-role PD port (source and sink) */ +#undef CONFIG_USB_PD_DUAL_ROLE + /* USB PD MCU slave address for host commands */ #define CONFIG_USB_PD_I2C_SLAVE_ADDR 0x3c -/* Compile chip support for the USB device controller */ -#undef CONFIG_USB +/* Define if using internal comparator for PD receive */ +#undef CONFIG_USB_PD_INTERNAL_COMP /* USB PD transmit uses SPI master */ #undef CONFIG_USB_PD_TX_USES_SPI_MASTER @@ -922,6 +931,9 @@ /*****************************************************************************/ +/* Compile chip support for the USB device controller */ +#undef CONFIG_USB + /* Support simple control of power to the device's USB ports */ #undef CONFIG_USB_PORT_POWER_DUMB -- cgit v1.2.1