mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	dm: core: Update lists_bind_fdt() to use ofnode
Adjust this function to use an ofnode instead of an offset, so it can be used with livetree. This involves updating all callers. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		| @@ -103,7 +103,8 @@ int notrace dm_timer_init(void) | ||||
| 			 * relocation, bind it anyway. | ||||
| 			 */ | ||||
| 			if (node > 0 && | ||||
| 			    !lists_bind_fdt(gd->dm_root, blob, node, &dev)) { | ||||
| 			    !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node), | ||||
| 					    &dev)) { | ||||
| 				ret = device_probe(dev); | ||||
| 				if (ret) | ||||
| 					return ret; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user