diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-07-22 15:01:45 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-29 11:43:01 +0000 |
commit | ed5fc8f4ec773392fe75e341f73ed0d176dd616a (patch) | |
tree | 0dc20e246fee5b1d607254cd2691fdce291ae90e /zephyr/Kconfig.system | |
parent | 2ef2b298e78d9c483ad35dbaf0f2227df2c1931a (diff) | |
download | chrome-ec-ed5fc8f4ec773392fe75e341f73ed0d176dd616a.tar.gz |
zephyr: Kconfig: use devicetree Kconfig symbols
Replace all instances of $(dt_compat_enabled, ...) with the equivalent
auto-generated Kconfig symbols.
BRANCH=none
BUG=none
TEST=zmake testall
TEST=zmake build brya and diff the .config
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Cq-Depend: chromium:3776850
Change-Id: I3a86a934182d3277aab7e5a545a4ca2d5cfedfb0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779894
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.system')
-rw-r--r-- | zephyr/Kconfig.system | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zephyr/Kconfig.system b/zephyr/Kconfig.system index 66586b6e2d..65241ca78b 100644 --- a/zephyr/Kconfig.system +++ b/zephyr/Kconfig.system @@ -2,8 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -DT_COMPAT_NUVOTON_NPCX_POWER_PSL := nuvoton,npcx-power-psl - if PLATFORM_EC config PLATFORM_EC_CONSOLE_CMD_SCRATCHPAD @@ -22,7 +20,8 @@ config PLATFORM_EC_CONSOLE_CMD_SYSINFO config PLATFORM_EC_HIBERNATE_PSL bool "System hibernating with PSL (Power Switch Logic) mechanism" - default $(dt_compat_enabled,$(DT_COMPAT_NUVOTON_NPCX_POWER_PSL)) + default y + depends on DT_HAS_NUVOTON_NPCX_POWER_PSL_ENABLED depends on SOC_FAMILY_NPCX help Use PSL (Power Switch Logic) for hibernating. It turns off VCC power |