Files
u-boot/include/board_f.h
Simon Glass 5019d3282c board_f: Move fdt_size to board
This value is only really used before relocation. There is not much use
to showing its value in bdinfo, so drop it. Move it to the new boardf
struct.

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-08-26 14:05:38 -06:00

28 lines
531 B
C

/* 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;
};
#endif