summaryrefslogtreecommitdiff
path: root/board/zinger
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/zinger
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/zinger')
-rw-r--r--board/zinger/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/zinger/board.h b/board/zinger/board.h
index bd9c472368..49a8064c36 100644
--- a/board/zinger/board.h
+++ b/board/zinger/board.h
@@ -57,6 +57,8 @@
#undef CONFIG_USB_PD_INTERNAL_COMP
#define CONFIG_USB_PD_LOGGING
#define CONFIG_USB_PD_LOG_SIZE 256
+#define CONFIG_USB_PD_TCPC
+#define CONFIG_USB_PD_TCPM_STUB
#undef CONFIG_USB_PD_RX_COMP_IRQ
#define CONFIG_USB_PD_SIMPLE_DFP
#define CONFIG_USBC_BACKWARDS_COMPATIBLE_DFP