lib/fit: support booting initrd placed above 4GiB
Store initrd offset as 64bit integer. Tested on Cavium CN81XX EVB: The initrd could be loaded when placed above 4GiB. Previously it failed to find the initrd. Change-Id: I5d1ae860ae4a4465546bc0ef89937d611d1e56ab Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/28002 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Philipp Deppenwiese
						Philipp Deppenwiese
					
				
			
			
				
	
			
			
			
						parent
						
							6539edef41
						
					
				
				
					commit
					3fca4ed45e
				
			| @@ -158,6 +158,7 @@ void dt_add_bin_prop(struct device_tree_node *node, const char *name, void *data | ||||
| 		     size_t size); | ||||
| void dt_add_string_prop(struct device_tree_node *node, const char *name, char *str); | ||||
| void dt_add_u32_prop(struct device_tree_node *node, const char *name, u32 val); | ||||
| void dt_add_u64_prop(struct device_tree_node *node, const char *name, u64 val); | ||||
| void dt_add_reg_prop(struct device_tree_node *node, u64 *addrs, u64 *sizes, | ||||
| 		     int count, u32 addr_cells, u32 size_cells); | ||||
| int dt_set_bin_prop_by_path(struct device_tree *tree, const char *path, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user