From 58f535e8c175311d866d4c1dd2d283d69230e9c5 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Wed, 3 Jul 2019 15:31:12 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1688142 Reviewed-by: Jett Rink Commit-Queue: Jett Rink --- chip/ish/power_mgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chip') 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(); } -- cgit v1.2.1