summaryrefslogtreecommitdiff
path: root/zephyr/shim
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-29 09:26:04 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-06 19:31:51 +0000
commitf4546fa1671e31afa5f03fe85e5e781f5295ac73 (patch)
treece7dbf228b1d301ef47f777b5ca2f1666be42aa2 /zephyr/shim
parentb63c2bbf5c9773956874e6220bd54317b39d39d2 (diff)
downloadchrome-ec-f4546fa1671e31afa5f03fe85e5e781f5295ac73.tar.gz
zephyr: Make HAS_TASK_CHIPSET a Kconfig option
This option is implied so we may as well create it. Set it to be visible (and automatically enabled) only if PLATFORM_EC_POWERSEQ is enabled. This mostly mimics the current behaviour. BUG=b:176449230 BRANCH=none TEST=ninja -C /tmp/z/vol/build-ro menuconfig Check the operation of HAS_TASK_CHIPSET and PLATFORM_EC_POWERSEQ Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I7dc698c15fa65eb16ec40724a06b67d7e4ddc27d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606573 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim')
-rw-r--r--zephyr/shim/include/shimmed_tasks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/shim/include/shimmed_tasks.h b/zephyr/shim/include/shimmed_tasks.h
index 3cb57e866d..655df56cd4 100644
--- a/zephyr/shim/include/shimmed_tasks.h
+++ b/zephyr/shim/include/shimmed_tasks.h
@@ -6,9 +6,9 @@
#ifndef __CROS_EC_SHIMMED_TASKS_H
#define __CROS_EC_SHIMMED_TASKS_H
-#ifdef CONFIG_PLATFORM_EC_POWERSEQ
+#ifdef CONFIG_HAS_TASK_CHIPSET
#define HAS_TASK_CHIPSET 1
-#endif /* CONFIG_PLATFORM_EC_POWERSEQ */
+#endif /* CONFIG_HAS_TASK_CHIPSET */
#ifdef CONFIG_PLATFORM_EC_HOSTCMD
#define HAS_TASK_HOSTCMD 1