mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	boot: Drop size parameter from image_setup_libfdt()
The of_size parameter is not used, so remove it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		| @@ -575,12 +575,13 @@ __weak int arch_fixup_fdt(void *blob) | ||||
| } | ||||
|  | ||||
| int image_setup_libfdt(struct bootm_headers *images, void *blob, | ||||
| 		       int of_size, struct lmb *lmb) | ||||
| 		       struct lmb *lmb) | ||||
| { | ||||
| 	ulong *initrd_start = &images->initrd_start; | ||||
| 	ulong *initrd_end = &images->initrd_end; | ||||
| 	int ret = -EPERM; | ||||
| 	int fdt_ret; | ||||
| 	int of_size; | ||||
|  | ||||
| 	if (fdt_root(blob) < 0) { | ||||
| 		printf("ERROR: root node setup failed\n"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user