Move boot params update to the boot_flow module.
Not all boot flows want to be doing updates so leave that decision to
the module responsible for coordinating the boot details.
Change-Id: Ia769f99e2221f12c79a364c3ad323c31d39c98f3
diff --git a/src/init.c b/src/init.c
index 4ed8c87..1b3abf2 100644
--- a/src/init.c
+++ b/src/init.c
@@ -116,9 +116,8 @@
panic("Unable to load VMs.");
}
- /* Prepare to run by updating bootparams as seen by primary VM. */
- if (!boot_params_patch_fdt(mm_stage1_locked, &update, &ppool)) {
- panic("plat_update_boot_params failed");
+ if (!boot_flow_update(mm_stage1_locked, &update, &ppool)) {
+ panic("Unable to update boot flow.");
}
mm_defrag(mm_stage1_locked, &ppool);