Simon Glass | 6abd992 | 2024-08-21 10:19:09 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2024 Google LLC |
| 4 | * Written by: Simon Glass <sjg@chromeium.org> |
| 5 | */ |
| 6 | |
| 7 | #ifndef __BOARD_F |
| 8 | #define __BOARD_F |
| 9 | |
| 10 | /** |
| 11 | * struct board_f: Information used only before relocation |
| 12 | * |
| 13 | * This struct is set up in board_init_f() and used to deal with relocation. It |
| 14 | * is not available after relocation. |
| 15 | */ |
| 16 | struct board_f { |
| 17 | /** |
| 18 | * @new_fdt: relocated device tree |
| 19 | */ |
| 20 | void *new_fdt; |
Simon Glass | 5019d32 | 2024-08-21 10:19:10 -0600 | [diff] [blame] | 21 | /** |
| 22 | * @fdt_size: space reserved for relocated device space |
| 23 | */ |
| 24 | unsigned long fdt_size; |
Simon Glass | 8941972 | 2024-08-21 10:19:11 -0600 | [diff] [blame] | 25 | /** |
| 26 | * @new_bootstage: relocated boot stage information |
| 27 | */ |
| 28 | struct bootstage_data *new_bootstage; |
Simon Glass | e821897 | 2024-08-21 10:19:12 -0600 | [diff] [blame] | 29 | /** |
| 30 | * @new_bloblist: relocated blob list information |
| 31 | */ |
| 32 | struct bloblist_hdr *new_bloblist; |
Simon Glass | 6abd992 | 2024-08-21 10:19:09 -0600 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | #endif |