diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2020-12-01 12:42:39 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-02 05:02:26 +0000 |
commit | f4cf398fbc6c800b6a7624742ce73129c70b94ef (patch) | |
tree | d323721cf0e58ea5fcb82d32c50a827e267fc89c | |
parent | 1028139b6aed4a7c5736ddc99b0162aec7eb964a (diff) | |
download | chrome-ec-f4cf398fbc6c800b6a7624742ce73129c70b94ef.tar.gz |
zephyr: shim in common/chipset.c
This gives us the "apreset" and "apshutdown" console commands.
BUG=b:171312361
BRANCH=none
TEST=try "apreset" and "apshutdown" commands on volteer
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ib71afa66cfb5d0044c4cf98839b263ee2e2da338
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2567343
Commit-Queue: Yuval Peress <peress@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
-rw-r--r-- | zephyr/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 4f3f3a4e79..c1a11633e6 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -35,6 +35,8 @@ zephyr_include_directories_ifdef( add_subdirectory_ifdef(CONFIG_PLATFORM_EC "shim") zephyr_sources_ifdef(CONFIG_PLATFORM_EC "${PLATFORM_EC}/common/base32.c") +zephyr_sources_ifdef(CONFIG_PLATFORM_EC_POWERSEQ + "${PLATFORM_EC}/common/chipset.c") zephyr_sources_ifdef(CONFIG_PLATFORM_EC_ESPI "${PLATFORM_EC}/common/espi.c") zephyr_sources_ifdef(CONFIG_PLATFORM_EC "${PLATFORM_EC}/common/extpower_common.c") zephyr_sources_ifdef(CONFIG_PLATFORM_EC_EXTPOWER_GPIO |