Simon Glass | 7f67b37 | 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 | 00f860f | 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 | 7f67b37 | 2024-08-21 10:19:09 -0600 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | #endif |