aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns/include
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-01-24 16:03:41 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-24 15:23:47 +0000
commitff28371521e453541c3c2de50dd5c3dfc68cc292 (patch)
tree79734a21d14bcc1146f172d7dc372f7690409961 /src/soc/intel/denverton_ns/include
parent062fdf13b8b7593c729401a5281087c3a09998d2 (diff)
Revert "soc/intel/denverton_ns: Rewrite pmutil using pmclib"
This reverts commit ab1227226ebd78b40783cb200e60711b900352f0. There were significant changes around soc_reset_tco_status() that this code needs to be adapted to. Change-Id: I563c9ddb3c7931c2b02f5c97a3be5e44fa873889 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/31071 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/denverton_ns/include')
-rw-r--r--src/soc/intel/denverton_ns/include/soc/pm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/intel/denverton_ns/include/soc/pm.h b/src/soc/intel/denverton_ns/include/soc/pm.h
index f6c56cf20b..32d8a76793 100644
--- a/src/soc/intel/denverton_ns/include/soc/pm.h
+++ b/src/soc/intel/denverton_ns/include/soc/pm.h
@@ -41,6 +41,18 @@ struct chipset_power_state {
struct chipset_power_state *fill_power_state(void);
/* Power Management Utility Functions. */
+uint32_t clear_smi_status(void);
+uint16_t clear_pm1_status(void);
+uint32_t clear_tco_status(void);
+uint32_t clear_gpe_status(void);
void clear_pmc_status(void);
+void enable_smi(uint32_t mask);
+void disable_smi(uint32_t mask);
+void enable_pm1(uint16_t events);
+void enable_pm1_control(uint32_t mask);
+void disable_pm1_control(uint32_t mask);
+void enable_gpe(uint32_t mask);
+void disable_gpe(uint32_t mask);
+void disable_all_gpe(void);
#endif /* _DENVERTON_NS_PM_H_ */