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.
There is likely a cleaner or more configurable way to acheive this but
the goal for the moment is to isolate the current boot flows that we
have.
Change-Id: Ib0a1d43293e0a70bea897fd4f4695515627bf150
diff --git a/src/boot_flow/common.c b/src/boot_flow/common.c
index d489faa..586d3d2 100644
--- a/src/boot_flow/common.c
+++ b/src/boot_flow/common.c
@@ -87,7 +87,8 @@
* Takes action on any updates that were generated.
*/
bool boot_flow_update(struct mm_stage1_locked stage1_locked,
- struct boot_params_update *p, struct mpool *ppool)
+ struct boot_params_update *p, struct memiter *cpio,
+ struct mpool *ppool)
{
- return plat_boot_flow_update(stage1_locked, p, ppool);
+ return plat_boot_flow_update(stage1_locked, p, cpio, ppool);
}