diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-05-06 09:53:32 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-22 05:35:06 +0000 |
commit | 6fcd1c0481292b9df96f26bbb248248c697e2641 (patch) | |
tree | a470e921abfecad7c94bf0a3924365a066eeda36 /chip/stm32/build.mk | |
parent | 7c1231c55faa8880e6ec26e48d2cd342d280ee0f (diff) | |
download | chrome-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 'chip/stm32/build.mk')
-rw-r--r-- | chip/stm32/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index f2cb2d9983..326edfb830 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -52,5 +52,5 @@ chip-$(CONFIG_USB)+=usb.o usb-$(CHIP_FAMILY).o usb_endpoints.o chip-$(CONFIG_USB_CONSOLE)+=usb_console.o chip-$(CONFIG_USB_GPIO)+=usb_gpio.o chip-$(CONFIG_USB_HID)+=usb_hid.o -chip-$(CONFIG_USB_POWER_DELIVERY)+=usb_pd_phy.o +chip-$(CONFIG_USB_PD_TCPC)+=usb_pd_phy.o chip-$(CONFIG_USB_SPI)+=usb_spi.o |