aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/init.c b/core/init.c
index 005ecf3..e832a00 100644
--- a/core/init.c
+++ b/core/init.c
@@ -574,6 +574,8 @@ void __noreturn load_and_boot_kernel(bool is_reboot)
if (!occ_sensors_init())
dts_sensor_create_nodes(sensor_node);
+ opal_mpipl_init();
+
} else {
/* fdt will be rebuilt */
free(fdt);
@@ -638,10 +640,6 @@ void __noreturn load_and_boot_kernel(bool is_reboot)
patch_traps(false);
cpu_set_hile_mode(false); /* Clear HILE on all CPUs */
- /* init MPIPL */
- if (!is_reboot)
- opal_mpipl_init();
-
checksum_romem();
debug_descriptor.state_flags |= OPAL_BOOT_COMPLETE;