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-04 01:57:32 +0000
commit58f535e8c175311d866d4c1dd2d283d69230e9c5 (patch)
treea1b4b1dd74821ce0f522f962ec885e33e5b567ee
parent4fea9b19312676ba26dbfbccf2ea6a5fe260ed9d (diff)
downloadchrome-ec-58f535e8c175311d866d4c1dd2d283d69230e9c5.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/+/1688142 Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Jett Rink <jettrink@chromium.org>
-rw-r--r--chip/ish/power_mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/ish/power_mgt.c b/chip/ish/power_mgt.c
index 470dfd2573..dbcbfeea61 100644
--- a/chip/ish/power_mgt.c
+++ b/chip/ish/power_mgt.c
@@ -674,7 +674,7 @@ static void reset_prep_isr(void)
IOAPIC_EOI_REG = ISH_RESET_PREP_VEC;
LAPIC_EOI_REG = 0x0;
- system_reset(0);
+ ish_mia_reset();
__builtin_unreachable();
}