mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	This value is only used before relocation. Move it to the new boardf struct. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			36 lines
		
	
	
		
			730 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			730 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;
 | |
| 	/**
 | |
| 	 * @new_bootstage: relocated boot stage information
 | |
| 	 */
 | |
| 	struct bootstage_data *new_bootstage;
 | |
| 	/**
 | |
| 	 * @new_bloblist: relocated blob list information
 | |
| 	 */
 | |
| 	struct bloblist_hdr *new_bloblist;
 | |
| };
 | |
| 
 | |
| #endif
 |