summaryrefslogtreecommitdiff
path: root/include/chipset.h
diff options
context:
space:
mode:
authorLi Feng <li1.feng@intel.com>2022-01-11 16:13:49 -0800
committerCommit Bot <commit-bot@chromium.org>2022-03-01 00:06:58 +0000
commite0b0f46e5ed895f511e299d60b1534015a722e07 (patch)
tree41c6cef8d831c2508286cb36b84a44a4d5c39f83 /include/chipset.h
parent835583f959c0abce1c15c53b594247ed8ae5bdf3 (diff)
downloadchrome-ec-e0b0f46e5ed895f511e299d60b1534015a722e07.tar.gz
zephyr: subsys/ap_pwrseq: Add chipset state interface APIs
BUG=b:203446068 b:214509787 BRANCH=none TEST=zmake testall Signed-off-by: Li Feng <li1.feng@intel.com> Change-Id: I40f6d134f1f73283b4eb568f00dacc1e0baf3f08 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3381901 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/chipset.h')
-rw-r--r--include/chipset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chipset.h b/include/chipset.h
index c0aad511de..48c65374a2 100644
--- a/include/chipset.h
+++ b/include/chipset.h
@@ -48,7 +48,7 @@ enum critical_shutdown {
CRITICAL_SHUTDOWN_CUTOFF,
};
-#ifdef HAS_TASK_CHIPSET
+#if defined(HAS_TASK_CHIPSET) || defined(CONFIG_ZEPHYR)
/**
* Check if chipset is in a given state.