aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-02-17 12:02:23 +1100
committerOliver O'Halloran <oohall@gmail.com>2020-02-26 20:35:27 +1100
commit10bbcd0788bc73ec675eb06e6c84faab5aab4461 (patch)
tree016da5e8e00556bea948b73bbd34e06ba675821d /include
parentf123417068e51842004bdc047c8c5107b70442ef (diff)
downloadskiboot-10bbcd0788bc73ec675eb06e6c84faab5aab4461.zip
skiboot-10bbcd0788bc73ec675eb06e6c84faab5aab4461.tar.gz
skiboot-10bbcd0788bc73ec675eb06e6c84faab5aab4461.tar.bz2
core/platform: Add an explicit fast-reboot type
The OPAL_CEC_REBOOT2 OPAL call allows a specific type of reboot to be requested. We can use this to allow the OS to request a fast-reboot explicitly rather than relying on nvram hacks to change the default behaviour. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opal-api.h b/include/opal-api.h
index 5b07dea..e425d79 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -1135,6 +1135,7 @@ enum {
OPAL_REBOOT_PLATFORM_ERROR,
OPAL_REBOOT_FULL_IPL,
OPAL_REBOOT_MPIPL,
+ OPAL_REBOOT_FAST,
};
/* Argument to OPAL_PCI_TCE_KILL */