1 /*
2  * Copyright 2019 The Hafnium Authors.
3  *
4  * Use of this source code is governed by a BSD-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/BSD-3-Clause.
7  */
8 
9 #pragma once
10 
11 #include "hf/addr.h"
12 #include "hf/boot_params.h"
13 #include "hf/fdt.h"
14 #include "hf/manifest.h"
15 #include "hf/memiter.h"
16 #include "hf/mm.h"
17 
18 paddr_t plat_boot_flow_get_fdt_addr(void);
19 uintreg_t plat_boot_flow_get_kernel_arg(void);
20 bool plat_boot_flow_get_initrd_range(const struct fdt *fdt, paddr_t *begin,
21 				     paddr_t *end);
22 bool plat_boot_flow_update(struct mm_stage1_locked stage1_locked,
23 			   const struct manifest *manifest,
24 			   struct boot_params_update *p, struct memiter *cpio,
25 			   struct mpool *ppool);
26