mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 20:18:18 +00:00 
			
		
		
		
	Universal Payload provides a standard way of handing off control between two firmware phases. Add support for reading the handoff information into a structure. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			25 lines
		
	
	
		
			564 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			564 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * UPL handoff command functions
 | |
|  *
 | |
|  * Copyright 2024 Google LLC
 | |
|  * Written by Simon Glass <sjg@chromium.org>
 | |
|  */
 | |
| 
 | |
| #ifndef __UPL_COMMON_H
 | |
| #define __UPL_COMMON_H
 | |
| 
 | |
| /* Names of bootmodes */
 | |
| extern const char *const bootmode_names[UPLBM_COUNT];
 | |
| 
 | |
| /* Names of memory usages */
 | |
| extern const char *const usage_names[UPLUS_COUNT];
 | |
| 
 | |
| /* Names of access types */
 | |
| extern const char *const access_types[UPLUS_COUNT];
 | |
| 
 | |
| /* Names of graphics formats */
 | |
| extern const char *const graphics_formats[UPLUS_COUNT];
 | |
| 
 | |
| #endif /* __UPL_COMMON_H */
 |