mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 08:21:36 +01:00 
			
		
		
		
	Instead of a special function, send an event after driver model is inited and adjust the boards which use this function. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			23 lines
		
	
	
		
			431 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			431 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2017 Andes Technology Corporation
 | |
|  * Rick Chen, Andes Technology Corporation <rick@andestech.com>
 | |
|  */
 | |
| 
 | |
| #ifndef __ASM_RISCV_SYSTEM_H
 | |
| #define __ASM_RISCV_SYSTEM_H
 | |
| 
 | |
| struct event;
 | |
| 
 | |
| /*
 | |
|  * Interrupt configuring macros.
 | |
|  *
 | |
|  * TODO
 | |
|  *
 | |
|  */
 | |
| 
 | |
| /* Hook to set up the CPU (called from SPL too) */
 | |
| int riscv_cpu_setup(void *ctx, struct event *event);
 | |
| 
 | |
| #endif	/* __ASM_RISCV_SYSTEM_H */
 |