summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-15 12:08:49 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-16 17:31:25 +0000
commit21872c487734c4a195fda10b477b1b99c573dfda (patch)
tree52f8ba520a46ce71decdb6baea0b99625fe69748 /zephyr
parentbca7737997eecb517dbbc94fd95d034f0f5cde56 (diff)
downloadchrome-ec-21872c487734c4a195fda10b477b1b99c573dfda.tar.gz
zephyr: Enable all the USB-C host commands
A single Kconfig is actually supposed to control two sets of host commands. The files have similar names but different commands. This was missed in the initial commit. Add the other file. BUG=b:175434113 BRANCH=none TEST=make BOARD=volteer -j30 With a zephyr-chrome CL, build volteer on zephyr Change-Id: I3044a5b0e8516d97108ae11bea4910bffe215e06 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2633825 Commit-Queue: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r--zephyr/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt
index 3a12c5b9c5..f00c16e8c7 100644
--- a/zephyr/CMakeLists.txt
+++ b/zephyr/CMakeLists.txt
@@ -163,7 +163,8 @@ zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_ALT_MODE_UFP
zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_DUAL_ROLE
"${PLATFORM_EC}/common/usb_pd_dual_role.c")
zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_PD_HOST_CMD
- "${PLATFORM_EC}/common/usb_pd_host_cmd.c")
+ "${PLATFORM_EC}/common/usb_pd_host_cmd.c"
+ "${PLATFORM_EC}/common/usbc/usb_pd_host.c")
zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_VPD "${PLATFORM_EC}/common/usbc/usb_tc_vpd_sm.c")
zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USB_CTVPD