J-Alves | 3531578 | 2022-01-25 17:58:32 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2022 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/fdt.h" |
| 12 | #include "hf/ffa.h" |
| 13 | #include "hf/sp_pkg.h" |
| 14 | |
| 15 | #define FFA_BOOT_INFO_SIG 0xFFAU |
| 16 | #define FFA_BOOT_INFO_VERSION 0x10001U |
| 17 | |
| 18 | bool ffa_boot_info_node(struct fdt_node *boot_info_node, vaddr_t pkg_address, |
| 19 | struct sp_pkg_header *pkg_header); |