aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.ibm.com>2023-08-29 11:24:07 +0200
committerReza Arbab <arbab@linux.ibm.com>2023-09-12 14:22:11 -0500
commit10f2bb245a052e33fd9b5ac1fa61015f7837f98d (patch)
tree6fbbdb0f70b858ec26542c9e43b0be8392f491be /include
parent9b68c95e5d1bdc96c988f2f6d55120a2b38b31f2 (diff)
downloadskiboot-10f2bb245a052e33fd9b5ac1fa61015f7837f98d.zip
skiboot-10f2bb245a052e33fd9b5ac1fa61015f7837f98d.tar.gz
skiboot-10f2bb245a052e33fd9b5ac1fa61015f7837f98d.tar.bz2
core/pldm: Register OPAL_RTC_READ/WRITE calls back
OPAL_RTC_READ/WRITE are used to retrieve and write the time. PLDM stack provides GetBiosDateTimeReq and SetBiosDateTimeReq commands to exercise. Signed-off-by: Christophe Lombard <clombard@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/pldm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pldm.h b/include/pldm.h
index e33de7d..7f944e7 100644
--- a/include/pldm.h
+++ b/include/pldm.h
@@ -65,4 +65,9 @@ int pldm_watchdog_init(void);
int pldm_platform_send_progress_state_change(
enum pldm_state_set_boot_progress_state_values state);
+/**
+ * Configure real-time clock
+ */
+void pldm_rtc_init(void);
+
#endif /* __PLDM_H__ */