summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.powerseq
diff options
context:
space:
mode:
authorSugnan Prabhu S <sugnan.prabhu.s@intel.com>2022-02-02 20:25:08 +0530
committerCommit Bot <commit-bot@chromium.org>2022-03-09 17:05:55 +0000
commit5e2e973b4ef0cf02596bdfc5fa81e7f4e704f446 (patch)
treecd309aaa5f883c794500797e35e44f15ed9d6871 /zephyr/Kconfig.powerseq
parentc79f4f71c787d3eb772b9d38f421b4be26780c96 (diff)
downloadchrome-ec-5e2e973b4ef0cf02596bdfc5fa81e7f4e704f446.tar.gz
intel_x86: Add config to configure S5 exit timer
On enabling Delayed Authentication Mode(DAM) in the coreboot for latest platforms, system takes more time to exit from S5 than the current wait time(4secs). Due to which EC forces the system to G3 after few retries. This patch adds a new config to allow configuration of this timeout value for which EC has to wait for S5 exit before performing RTC reset and forcing the system to G3. BRANCH=None BUG=b:191742284 TEST=Boot test on Brya with the DAM enabled coreboot Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com> Change-Id: I78821280fa5928682c9c0c742a4e00299ac49db0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3432445 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.corp-partner.google.com>
Diffstat (limited to 'zephyr/Kconfig.powerseq')
-rw-r--r--zephyr/Kconfig.powerseq11
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq
index 0fb0df3acb..10459ed8ce 100644
--- a/zephyr/Kconfig.powerseq
+++ b/zephyr/Kconfig.powerseq
@@ -171,6 +171,17 @@ config PLATFORM_EC_POWERSEQ_PP3300_RAIL_FIRST
endif # PLATFORM_EC_POWERSEQ_ICELAKE
+if PLATFORM_EC_POWERSEQ_RTC_RESET
+
+config PLATFORM_EC_S5_EXIT_WAIT
+ int "time(in secs) for EC to wait for system to exit from S5"
+ default 4
+ help
+ Timeout value for which EC has to wait for system to exit from S5
+ before performing RTC reset and moving the system to G3.
+
+endif # PLATFORM_EC_POWERSEQ_RTC_RESET
+
endif # PLATFORM_EC_POWERSEQ_INTEL
config PLATFORM_EC_POWERSEQ_MT8192