mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Add a return value to api_init and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			21 lines
		
	
	
		
			427 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			427 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (c) 2017 Google, Inc
 | |
|  * Written by Simon Glass <sjg@chromium.org>
 | |
|  */
 | |
| 
 | |
| #ifndef __API_H
 | |
| #define __API_H
 | |
| 
 | |
| /**
 | |
|  * api_init() - Initialize API for external applications
 | |
|  *
 | |
|  * Initialize API for external (standalone) applications running on top of
 | |
|  * U-Boot. It is called during the generic post-relocation init sequence.
 | |
|  *
 | |
|  * Return: 0 if OK
 | |
|  */
 | |
| int api_init(void);
 | |
| 
 | |
| #endif
 |