blob: d9c793fbeb1f89e3098904821a969576639ef14c [file] [log] [blame]
Simon Glass7f67b372024-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 Glass00f860f2024-08-21 10:19:10 -060021 /**
22 * @fdt_size: space reserved for relocated device space
23 */
24 unsigned long fdt_size;
Simon Glass7f67b372024-08-21 10:19:09 -060025};
26
27#endif