[PATCH 0/3] dm: core: Avoid multiple calls to fdt_parent_offset()

Tom Rini trini at konsulko.com
Wed Aug 28 01:22:54 CEST 2024


On Sun, 04 Aug 2024 15:05:48 +0000, Jonas Karlman wrote:

> 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.
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list