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" |
J-Alves | 6e0abc4 | 2024-12-30 16:51:16 +0000 | [diff] [blame] | 13 | #include "hf/partition_pkg.h" |
J-Alves | 3531578 | 2022-01-25 17:58:32 +0000 | [diff] [blame] | 14 | |
| 15 | #define FFA_BOOT_INFO_SIG 0xFFAU |
J-Alves | 3531578 | 2022-01-25 17:58:32 +0000 | [diff] [blame] | 16 | |
J-Alves | 6e0abc4 | 2024-12-30 16:51:16 +0000 | [diff] [blame] | 17 | bool ffa_boot_info_node(struct fdt_node *boot_info_node, |
Kathleen Capella | 8393ea9 | 2025-01-09 17:22:21 -0500 | [diff] [blame] | 18 | struct partition_pkg *pkg, |
| 19 | enum ffa_version vm_ffa_version); |