summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2014-08-05 17:12:38 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-06 19:24:46 +0000
commitff4eb7e092fb460d7eba58cb44300db7df2dd1de (patch)
tree097294dc45df79ed4d661ae11a6e650466c6872d
parent4c1665eb9c6914f54330a65ef01327ec1941af54 (diff)
downloadchrome-ec-ff4eb7e092fb460d7eba58cb44300db7df2dd1de.tar.gz
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 <alecaberg@chromium.org> Change-Id: I0e5d64736f2f04794f226872eaafc0984b48f05e Reviewed-on: https://chromium-review.googlesource.com/211044 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--include/config.h16
1 files 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