aboutsummaryrefslogtreecommitdiff
path: root/core
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 /core
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 'core')
-rw-r--r--core/fast-reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 07f83a3..35c9a2b 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -433,8 +433,8 @@ void __noreturn fast_reboot_entry(void)
/* Start clearing memory */
start_mem_region_clear_unused();
- /* Poke the consoles (see comments in the code there) */
- fsp_console_reset();
+ if (platform.fast_reboot_init)
+ platform.fast_reboot_init();
if (proc_gen == proc_gen_p8) {
/* XXX */