summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-08 13:40:06 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-15 03:57:01 +0000
commitd4d3999080056c3982bd4f87d46d509afc9fc6ce (patch)
tree4585c185b45d92a9bda582f7815e02286fe20ab4
parenteab7eaef9ae5c3eb56893c784bd6e482b797bd51 (diff)
downloadchrome-ec-d4d3999080056c3982bd4f87d46d509afc9fc6ce.tar.gz
volteer: Enable CBI setup
Add the required code to set up CBI ready for use. BUG=b:175434113 TEST=build on volteer Cq-Depend: chromium:2617369 Change-Id: Iba68696747c9c069adcd7580f4b03ac9b1424bbc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2618661 Commit-Queue: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630182 Tested-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/projects/volteer/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/projects/volteer/CMakeLists.txt b/zephyr/projects/volteer/CMakeLists.txt
index 322d5cc546..a11f43d207 100644
--- a/zephyr/projects/volteer/CMakeLists.txt
+++ b/zephyr/projects/volteer/CMakeLists.txt
@@ -33,11 +33,14 @@ zephyr_include_directories(
# Include selected EC source for the baseboard
target_sources(app PRIVATE "${PLATFORM_EC_BASEBOARD}/battery_presence.c")
target_sources(app PRIVATE "${PLATFORM_EC_BASEBOARD}/charger.c")
+target_sources(app PRIVATE "${PLATFORM_EC_BASEBOARD}/cbi.c")
+target_sources(app PRIVATE "${PLATFORM_EC_BASEBOARD}/cbi_ec_fw_config.c")
target_sources(app PRIVATE "${PLATFORM_EC_BASEBOARD}/usb_pd_policy.c")
target_sources(app PRIVATE "${PLATFORM_EC_BASEBOARD}/usbc_config.c")
# Include selected EC source for the board
target_sources(app PRIVATE "${PLATFORM_EC_BOARD}/battery.c")
+target_sources(app PRIVATE "${PLATFORM_EC_BOARD}/cbi.c")
target_sources(app PRIVATE "${PLATFORM_EC_BOARD}/usbc_config.c")
# Local sources to make things build. These are being removed as we are able