blob: 05aa51510c251e250dacaf1b80f31ac2416e61b3 [file] [log] [blame]
Simon Glass6abd9922024-08-21 10:19:09 -06001/* 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 */
16struct board_f {
17 /**
18 * @new_fdt: relocated device tree
19 */
20 void *new_fdt;
Simon Glass5019d322024-08-21 10:19:10 -060021 /**
22 * @fdt_size: space reserved for relocated device space
23 */
24 unsigned long fdt_size;
Simon Glass89419722024-08-21 10:19:11 -060025 /**
26 * @new_bootstage: relocated boot stage information
27 */
28 struct bootstage_data *new_bootstage;
Simon Glasse8218972024-08-21 10:19:12 -060029 /**
30 * @new_bloblist: relocated blob list information
31 */
32 struct bloblist_hdr *new_bloblist;
Simon Glass6abd9922024-08-21 10:19:09 -060033};
34
35#endif