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/android.c b/src/boot_flow/android.c
index 73797e9..cf7246e 100644
--- a/src/boot_flow/android.c
+++ b/src/boot_flow/android.c
@@ -51,10 +51,12 @@
* Android boot flow does not change based on the updates.
*/
bool plat_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)
{
(void)stage1_locked;
(void)p;
+ (void)cpio;
(void)ppool;
return true;