aboutsummaryrefslogtreecommitdiffstats
path: root/include/board_f.h
blob: 05aa51510c251e250dacaf1b80f31ac2416e61b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2024 Google LLC
 * Written by: Simon Glass <sjg@chromeium.org>
 */

#ifndef __BOARD_F
#define __BOARD_F

/**
 * struct board_f: Information used only before relocation
 *
 * This struct is set up in board_init_f() and used to deal with relocation. It
 * is not available after relocation.
 */
struct board_f {
	/**
	 * @new_fdt: relocated device tree
	 */
	void *new_fdt;
	/**
	 * @fdt_size: space reserved for relocated device space
	 */
	unsigned long fdt_size;
	/**
	 * @new_bootstage: relocated boot stage information
	 */
	struct bootstage_data *new_bootstage;
	/**
	 * @new_bloblist: relocated blob list information
	 */
	struct bloblist_hdr *new_bloblist;
};

#endif