From: Tom Rini Date: Tue, 27 Aug 2024 20:32:54 +0000 (-0600) Subject: Merge patch series "dm: core: Avoid multiple calls to fdt_parent_offset()" X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=314fdd2e7392bc3480104a1f15001f0f6f25a4dd;p=u-boot.git Merge patch series "dm: core: Avoid multiple calls to fdt_parent_offset()" Jonas Karlman says: Use of fdt_parent_offset() is very expensive as detailed by the function documentation: NOTE: This function is expensive, as it must scan the device tree structure from the start to nodeoffset, *twice*. This series remove multiple calls to fdt_parent_offset() or ofnode_get_parent() when instead a single call can be made and the returned value can be reused. This series help reduce boot time by around: - ~137ms on a Radxa ROCK Pi 4 (RK3399) - ~33ms on a Radxa ZERO 3W (RK3566) --- 314fdd2e7392bc3480104a1f15001f0f6f25a4dd