summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-10-28 14:34:59 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-01 16:48:27 +0000
commit49e9f1742fe3de8fdeb1f1054b49facacfa18a99 (patch)
tree3b274591f59f4bd054e647ed096f3d950099f9f1
parent89b4f24840602a37da7cae29ba2e4abc616903f4 (diff)
downloadchrome-ec-49e9f1742fe3de8fdeb1f1054b49facacfa18a99.tar.gz
Zephyr: Add ANX7451 retimer to build
There was already a CONFIG option for this retimer, but the config option should translate into building it as well. BRANCH=None BUG=b:195137794 TEST=zmake testall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I68c4d7511b0e83d5aae5fd33d5504d112ba9e06f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3252341 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt
index 64e8ccf150..4a3b56a856 100644
--- a/zephyr/CMakeLists.txt
+++ b/zephyr/CMakeLists.txt
@@ -329,6 +329,8 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC_RETIMER_INTEL_BB
"${PLATFORM_EC}/driver/retimer/bb_retimer.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC_RETIMER_PS8818
"${PLATFORM_EC}/driver/retimer/ps8818.c")
+zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC_RETIMER_ANX7451
+ "${PLATFORM_EC}/driver/usb_mux/anx7451.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC_SS_MUX
"${PLATFORM_EC}/driver/usb_mux/usb_mux.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_MUX_AMD_FP6