rmodule: use struct prog while loading rmodules
The rmod_stage_load structure contained the same fields as struct prog. In order to more closely integrate with the rest of program loading use struct prog. Change-Id: Ib7f45d0b3573e6d518864deacc4002802b11aa9c Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9143 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
		
				
					committed by
					
						 Aaron Durbin
						Aaron Durbin
					
				
			
			
				
	
			
			
			
						parent
						
							ce9efe061a
						
					
				
				
					commit
					460703bbb4
				
			| @@ -55,15 +55,11 @@ int rmodule_calc_region(unsigned int region_alignment, size_t rmodule_size, | ||||
|  * using dynamic cbmem because it uses the dynamic cbmem API to obtain | ||||
|  * the backing store region for the stage. */ | ||||
| struct cbfs_stage; | ||||
| struct cbmem_entry; | ||||
| struct prog; | ||||
|  | ||||
| struct rmod_stage_load { | ||||
| 	/* Inputs */ | ||||
| 	uint32_t cbmem_id; | ||||
| 	const char *name; | ||||
| 	/* Outputs */ | ||||
| 	const struct cbmem_entry *cbmem_entry; | ||||
| 	void *entry; | ||||
| 	struct prog *prog; | ||||
| }; | ||||
|  | ||||
| /* Both of the following functions return 0 on success, -1 on error. */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user