summaryrefslogtreecommitdiff
path: root/core/minute-ia/ia_structs.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-06-03 07:30:07 -0600
committerCommit Bot <commit-bot@chromium.org>2019-06-05 20:06:12 +0000
commitca796e13d2f30392caab5b77535ab32597488567 (patch)
treed3d52d1517e6471e8291248ab291ab22942a668c /core/minute-ia/ia_structs.h
parentb4f1c3ca375f6e3c50edae12c1713236a0bcd2cc (diff)
downloadchrome-ec-ca796e13d2f30392caab5b77535ab32597488567.tar.gz
ish: reload watchdog after lower power exit
Reload the watchdog timer immediately after exiting from D0ix before re-enabling the reset of the IRQs. Also re-enable all ISRs in a batch while interrupts are disabled to limit the number of context switched if multiple interrupts are pending. BRANCH=none BUG=b:133190570 TEST=let arcada enter and exit D0i[0123] without issue for a couple of minutes. There are not adverse affects of this change. Change-Id: I3ef5878b0618a0c1858664cad061d415329d4302 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1640304 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'core/minute-ia/ia_structs.h')
-rw-r--r--core/minute-ia/ia_structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/minute-ia/ia_structs.h b/core/minute-ia/ia_structs.h
index 08447cb242..29bbb6c005 100644
--- a/core/minute-ia/ia_structs.h
+++ b/core/minute-ia/ia_structs.h
@@ -8,7 +8,7 @@
#ifndef __ASSEMBLER__
-#include <stdint.h>
+#include "common.h"
/**