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/boot_params.h"
12 #include "hf/manifest.h"
13 #include "hf/memiter.h"
14 #include "hf/mm.h"
15 
16 bool boot_flow_get_params(struct boot_params *p, const struct fdt *fdt);
17 
18 bool boot_flow_update(struct mm_stage1_locked stage1_locked,
19 		      const struct manifest *manifest,
20 		      struct boot_params_update *p, struct memiter *cpio,
21 		      struct mpool *ppool);
22