aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-06-18 17:29:20 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-24 15:59:07 +1000
commitddf48eae7697769a7bba57e3c06155ab79df37bd (patch)
treee9fe8e0a65cad0dfdbbe1191109b89fd61478860 /include/platform.h
parentd14cfe94cdbee46e4f83fd49194b94024de8b964 (diff)
downloadskiboot-ddf48eae7697769a7bba57e3c06155ab79df37bd.zip
skiboot-ddf48eae7697769a7bba57e3c06155ab79df37bd.tar.gz
skiboot-ddf48eae7697769a7bba57e3c06155ab79df37bd.tar.bz2
fast-reboot: move platform specific bits to a platform call
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 9a77586..1a12718 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -125,6 +125,11 @@ struct platform {
void (*init)(void);
/*
+ * Called once every thread is back in skiboot as part of fast reboot.
+ */
+ void (*fast_reboot_init)(void);
+
+ /*
* These are used to power down and reboot the machine
*/
int64_t (*cec_power_down)(uint64_t request);