mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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>
28 lines
531 B
C
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
|