aboutsummaryrefslogtreecommitdiff
path: root/include/pldm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pldm.h')
-rw-r--r--include/pldm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/pldm.h b/include/pldm.h
index 80ee85c..e33de7d 100644
--- a/include/pldm.h
+++ b/include/pldm.h
@@ -6,6 +6,7 @@
#define __PLDM_H__
#include <skiboot.h>
+#include <pldm/include/libpldm/state_set.h>
/**
* Handle PLDM messages received from MCTP
@@ -34,6 +35,11 @@ int pldm_platform_power_off(void);
int pldm_platform_restart(void);
/**
+ * Send a system firmware Graceful Shutdown request
+ */
+int pldm_platform_initiate_shutdown(void);
+
+/**
* Update the firmware version device-tree field
*/
int pldm_fru_dt_add_bmc_version(void);
@@ -53,4 +59,10 @@ bool pldm_lid_files_exit(struct blocklevel_device *bl);
*/
int pldm_watchdog_init(void);
+/**
+ * Update boot progress state
+ */
+int pldm_platform_send_progress_state_change(
+ enum pldm_state_set_boot_progress_state_values state);
+
#endif /* __PLDM_H__ */