summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2016-06-23 09:50:28 -0700
committerMartin Roth <martinroth@google.com>2016-06-24 20:40:35 +0200
commit5992afa57db4921f341bfdeb4bc796dfa6d0ae0e (patch)
tree6d0ca0ced0c90314ceb3af8295ec90ae5b60e19a /src/soc
parent1973c39c82ae3c7124e603d92248e34dabfb0a61 (diff)
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>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/apollolake/pmutil.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c
index 84ac4b77a1..b49c52e98e 100644
--- a/src/soc/intel/apollolake/pmutil.c
+++ b/src/soc/intel/apollolake/pmutil.c
@@ -315,6 +315,9 @@ int chipset_prev_sleep_state(struct chipset_power_state *ps)
prev_sleep_state = SLEEP_STATE_S5;
break;
}
+
+ /* Clear SLP_TYP. */
+ outl(ps->pm1_cnt & ~(SLP_TYP), ACPI_PMIO_BASE + PM1_CNT);
}
return prev_sleep_state;
}