[coreboot-gerrit] New patch to review for coreboot: soc/apollolake: Clear SLP_TYP in PM1_CNT
Hannah Williams (hannah.williams@intel.com)
gerrit at coreboot.org
Thu Jun 23 18:38:11 CEST 2016
Hannah Williams (hannah.williams at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15336
-gerrit
commit 9d249fe81cd602c879a74c42aa92199bb3aa693a
Author: Hannah Williams <hannah.williams at intel.com>
Date: Thu Jun 23 09:50:28 2016 -0700
soc/apollolake: Clear SLP_TYP in PM1_CNT
Change-Id: Id49319ec6b52648b03eaeddfdd1580dd82110fb9
Signed-off-by: Hannah Williams <hannah.williams at intel.com>
---
src/soc/intel/apollolake/pmutil.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c
index 6e47911..3fb95de 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;
}
More information about the coreboot-gerrit
mailing list