summaryrefslogtreecommitdiff
path: root/board/plankton/board.h
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-05-06 09:53:32 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-22 05:35:06 +0000
commit6fcd1c0481292b9df96f26bbb248248c697e2641 (patch)
treea470e921abfecad7c94bf0a3924365a066eeda36 /board/plankton/board.h
parent7c1231c55faa8880e6ec26e48d2cd342d280ee0f (diff)
downloadchrome-ec-6fcd1c0481292b9df96f26bbb248248c697e2641.tar.gz
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 <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/270171 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/plankton/board.h')
-rw-r--r--board/plankton/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/plankton/board.h b/board/plankton/board.h
index 7b796b919e..25826395eb 100644
--- a/board/plankton/board.h
+++ b/board/plankton/board.h
@@ -25,6 +25,8 @@
#define CONFIG_USB_PD_IDENTITY_SW_VERS 1
#define CONFIG_USB_PD_INTERNAL_COMP
#define CONFIG_USB_PD_DYNAMIC_SRC_CAP
+#define CONFIG_USB_PD_TCPC
+#define CONFIG_USB_PD_TCPM_STUB
#define CONFIG_ADC
#define CONFIG_HW_CRC
#define CONFIG_I2C