aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-05-13 22:12:26 +1000
committerReza Arbab <arbab@linux.ibm.com>2023-06-06 13:32:12 -0500
commitd40064f479e6a94c2ff7714046d40818b4d993f0 (patch)
tree653b1efdea5706361800f620da06eb50512329cb /core
parentd2689980a3207508a8737c286ff0ab404bd482bc (diff)
downloadskiboot-d40064f479e6a94c2ff7714046d40818b4d993f0.zip
skiboot-d40064f479e6a94c2ff7714046d40818b4d993f0.tar.gz
skiboot-d40064f479e6a94c2ff7714046d40818b4d993f0.tar.bz2
ipmi: remove unused OS watchdog support
This code hasn't been enabled, remove it. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/ipmi.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/ipmi.c b/core/ipmi.c
index 673aa0c..2b1bb1c 100644
--- a/core/ipmi.c
+++ b/core/ipmi.c
@@ -220,17 +220,6 @@ static void ipmi_get_message_flags_complete(struct ipmi_msg *msg)
prlog(PR_DEBUG, "IPMI Get Message Flags: %02x\n", flags);
- /* Once we see an interrupt we assume the payload has
- * booted. We disable the wdt and let the OS setup its own
- * wdt.
- *
- * This is also where we consider the OS to be booted, so we set
- * the boot count sensor */
- if (flags & IPMI_MESSAGE_FLAGS_WATCHDOG_PRE_TIMEOUT) {
- ipmi_wdt_stop();
- ipmi_set_boot_count();
- }
-
/* Message available in the event buffer? Queue a Read Event command
* to retrieve it. The flag is cleared by performing a read */
if (flags & IPMI_MESSAGE_FLAGS_EVENT_BUFFER) {