summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-06-11 16:13:07 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-15 18:38:59 +0000
commitbf6c2290a9f9a0bcda4e101b2e80555a88753630 (patch)
tree49c93df867fe20894f8a7a8d130e59fb5a7d3612 /zephyr
parent5df893a3ad088967e3f27a82944b82b5d9eeb26d (diff)
downloadchrome-ec-bf6c2290a9f9a0bcda4e101b2e80555a88753630.tar.gz
zephyr: hayato: Include board_id implementation
Add this to hayato so we can detect the board ID. BUG=b:190213172 BRANCH=none TEST=with other CLs, build asurada for Zephyr Change-Id: I2bf383f5f4cbe3d1c008bf2de8146cffe224ad5e Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2956086 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r--zephyr/projects/asurada/hayato/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/projects/asurada/hayato/CMakeLists.txt b/zephyr/projects/asurada/hayato/CMakeLists.txt
index 979e1f7bf5..dede01ec31 100644
--- a/zephyr/projects/asurada/hayato/CMakeLists.txt
+++ b/zephyr/projects/asurada/hayato/CMakeLists.txt
@@ -17,7 +17,8 @@ set(PLATFORM_EC_BOARD "${PLATFORM_EC}/board/hayato" CACHE PATH
"Path to the platform/ec board directory")
zephyr_library_sources(
- "${PLATFORM_EC_BASEBOARD}/board_chipset.c")
+ "${PLATFORM_EC_BASEBOARD}/board_chipset.c"
+ "${PLATFORM_EC_BASEBOARD}/board_id.c")
# Board specific sensor implementation
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_MOTIONSENSE