summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2022-04-05 10:21:48 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-14 17:15:06 +0000
commit7c396b2737621c02e33ec0709638ab436ab247a1 (patch)
tree592cd1a5d506f3b51222ba3f1de75a125bcde9f8
parentcc64bd97f25244e7facc3f6bbfb12c7362f9f19c (diff)
downloadchrome-ec-7c396b2737621c02e33ec0709638ab436ab247a1.tar.gz
Skyrim: Tune RSMRST wait time
On cold boot, RSMRST may take longer to assert than during a warm boot. Lengthen the time we wait for this signal. BRANCH=None BUG=b:227296845 TEST=on skyrim, observe that T1a boot timing is met during cold boots Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I55103b759e012838e631bb19b16a4703e81535ab Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3572183 Reviewed-by: Robert Zieba <robertzieba@google.com> Commit-Queue: Robert Zieba <robertzieba@google.com>
-rw-r--r--zephyr/projects/skyrim/power_signals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/projects/skyrim/power_signals.c b/zephyr/projects/skyrim/power_signals.c
index f36f2ae576..e85cea1f04 100644
--- a/zephyr/projects/skyrim/power_signals.c
+++ b/zephyr/projects/skyrim/power_signals.c
@@ -81,10 +81,10 @@ DECLARE_HOOK(HOOK_INIT, baseboard_init, HOOK_PRIO_POST_I2C);
/**
* b/227296844: On G3->S5, wait for RSMRST_L to be deasserted before asserting
- * PCH_PWRBTN_L. This typically takes 32-35 ms in testing. Then wait an
+ * PCH_PWRBTN_L. This can be as long as ~65ms after cold boot. Then wait an
* additional delay of T1a defined in the EDS before changing the power button.
*/
-#define RSMRST_WAIT_DELAY 40
+#define RSMRST_WAIT_DELAY 70
#define EDS_PWR_BTN_RSMRST_T1A_DELAY 16
void board_pwrbtn_to_pch(int level)
{