summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/pmutil.c
diff options
context:
space:
mode:
authorBora Guvendik <bora.guvendik@intel.com>2018-09-28 16:19:00 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-10-04 09:44:31 +0000
commit3cb0e278e5fb7eda075b199638ea479c931c249b (patch)
tree2061515af309a9fc984fefeb76eee118d7544e0f /src/soc/intel/skylake/pmutil.c
parent917b400bc0d16a41af757e5ddf7ea76e29a00e3d (diff)
downloadcoreboot-3cb0e278e5fb7eda075b199638ea479c931c249b.tar.xz
soc/intel/common: add acpi_get_sleep_type to pmclib
Change-Id: I3f4123657a375211f802a7d484a15353f9a256e9 Signed-off-by: Bora Guvendik <bora.guvendik@intel.com> Reviewed-on: https://review.coreboot.org/28795 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hannah Williams <hannah.williams@intel.com>
Diffstat (limited to 'src/soc/intel/skylake/pmutil.c')
-rw-r--r--src/soc/intel/skylake/pmutil.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/soc/intel/skylake/pmutil.c b/src/soc/intel/skylake/pmutil.c
index 2c399c7ade..2e1d1713e1 100644
--- a/src/soc/intel/skylake/pmutil.c
+++ b/src/soc/intel/skylake/pmutil.c
@@ -309,11 +309,3 @@ void soc_fill_power_state(struct chipset_power_state *ps)
printk(BIOS_DEBUG, "GBLRST_CAUSE: %08x %08x\n",
ps->gblrst_cause[0], ps->gblrst_cause[1]);
}
-
-int acpi_get_sleep_type(void)
-{
- struct chipset_power_state *ps;
-
- ps = pmc_get_power_state();
- return ps->prev_sleep_state;
-}