diff options
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | 2021-09-16 15:17:38 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-12-12 21:42:30 +0000 |
commit | 0f13d89567af9855116a4045f9f011fbb78ad591 (patch) | |
tree | e9ed8e683e39768c850b2edde9c83bcc10598f42 /zephyr/shim | |
parent | e2baaa0dc8a98cbdb6be629c2f72ccaaccb5197d (diff) | |
download | chrome-ec-0f13d89567af9855116a4045f9f011fbb78ad591.tar.gz |
zephyr: config_chip: Add the config of CONFIG_PLATFORM_EC_LOW_POWER_S0
Add config option which will allow entry deep sleep during S0.
BUG=none
BRANCH=none
TEST=none
Change-Id: I69d5296ca105790e6cecef5ea0d62b49f09c1ad6
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3267758
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/shim')
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 8d80efde44..4c646adf19 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -2714,6 +2714,11 @@ BUILD_ASSERT((DT_NUM_INST_STATUS_OKAY(mps_mp2964)) == 1, #define CONFIG_LOW_POWER_IDLE #endif +#undef CONFIG_LOW_POWER_S0 +#ifdef CONFIG_PLATFORM_EC_LOW_POWER_S0 +#define CONFIG_LOW_POWER_S0 +#endif + #undef CONFIG_POWER_COMMON #ifdef CONFIG_PLATFORM_EC_POWER_COMMON #define CONFIG_POWER_COMMON |