Jonas Karlman
445406afbb
dm: core: ofnode: Avoid multiple calls to ofnode_get_parent()
...
Until a live tree is used in U-Boot proper after relocation, use of
ofnode_get_parent() will trigger a call to the very expensive
fdt_parent_offset() 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*.
Re-use the returned value from a single call instead of having to make
multiple calls for same node.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se >
Reviewed-by: Simon Glass <sjg@chromium.org >
2024-08-27 14:32:49 -06:00
..
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:04 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:04 -06:00
2024-07-22 10:53:04 -06:00
2024-07-16 12:56:20 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:04 -06:00
2024-08-02 15:16:51 -03:00
2024-08-27 14:32:49 -06:00
2024-08-02 15:16:51 -03:00
2024-07-22 10:53:04 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-24 13:42:07 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-07-23 10:37:48 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-07-30 14:31:24 -06:00
2024-06-17 16:02:29 +02:00
2024-06-07 14:07:23 -06:00
2024-07-22 10:53:05 -06:00
2024-07-23 10:37:48 -06:00
2024-07-31 11:18:43 -06:00
2024-05-20 13:35:03 -06:00
2024-08-01 08:10:05 -06:00
2024-06-24 13:34:52 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-07-26 01:28:13 +02:00
2024-05-20 13:35:03 -06:00
2023-11-07 14:50:51 -05:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-07-22 10:53:06 -06:00
2024-07-25 09:14:29 -06:00
2024-07-22 10:53:06 -06:00
2024-07-22 10:53:06 -06:00
2024-07-31 16:56:06 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-26 01:28:11 +02:00
2024-07-22 10:53:06 -06:00
2024-07-22 10:53:06 -06:00
2024-07-05 12:07:37 +02:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-04-26 08:28:35 +03:00
2024-07-22 10:53:06 -06:00
2024-07-22 10:53:06 -06:00
2024-07-22 10:53:06 -06:00
2024-05-20 13:35:03 -06:00
2024-07-23 10:37:48 -06:00
2024-07-31 16:54:09 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-31 16:51:54 +02:00
2024-05-20 13:35:03 -06:00
2023-10-15 12:23:48 +02:00
2024-05-05 11:21:39 -03:00