soc/apollolake: Clear SLP_TYP in PM1_CNT

Change-Id: Id49319ec6b52648b03eaeddfdd1580dd82110fb9
Signed-off-by: Hannah Williams <hannah.williams@intel.com>
Reviewed-on: https://review.coreboot.org/15336
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Hannah Williams 2016-06-23 09:50:28 -07:00 committed by Martin Roth
parent 1973c39c82
commit 5992afa57d
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,9 @@ int chipset_prev_sleep_state(struct chipset_power_state *ps)
prev_sleep_state = SLEEP_STATE_S5; prev_sleep_state = SLEEP_STATE_S5;
break; break;
} }
/* Clear SLP_TYP. */
outl(ps->pm1_cnt & ~(SLP_TYP), ACPI_PMIO_BASE + PM1_CNT);
} }
return prev_sleep_state; return prev_sleep_state;
} }