summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-07-03 15:31:12 -0600
committerCommit Bot <commit-bot@chromium.org>2019-07-03 22:30:10 +0000
commitb3afc3b3f4448873f01006d02b8805c154b797d9 (patch)
tree80d1ca3d606c2682b66ad55eb890001d1d012b67
parentc83795fbcb6c19706f4582a216b35ad5e4a0e246 (diff)
downloadchrome-ec-b3afc3b3f4448873f01006d02b8805c154b797d9.tar.gz
ish: enter ISH ROM during reset prep
This is a temporary workaround based on PS1 of Hebo's CL:1684825. The actual fix for b:136265450 should revert this. The cost of this change is higher power usage when the system is powered off. BUG=b:136265450 BRANCH=R75,R76,master TEST=Normally failed DUT comes back alive consistently with this change. Change-Id: I623249dfcb697a055378ca721721f346b01b7a8f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1688148 Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Jett Rink <jettrink@chromium.org>
-rw-r--r--chip/ish/power_mgt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/chip/ish/power_mgt.c b/chip/ish/power_mgt.c
index 26cc42e104..27af113296 100644
--- a/chip/ish/power_mgt.c
+++ b/chip/ish/power_mgt.c
@@ -709,12 +709,7 @@ static void reset_prep_isr(void)
IOAPIC_EOI_REG = ISH_RESET_PREP_VEC;
LAPIC_EOI_REG = 0x0;
- if (pm_ctx.aon_valid) {
- handle_reset_in_aontask(ISH_PM_STATE_RESET_PREP);
- } else {
- ish_mia_reset();
- }
-
+ ish_mia_reset();
__builtin_unreachable();
}