summaryrefslogtreecommitdiff
path: root/tools/patman/commit.py
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2024-08-04 15:05:49 +0000
committerTom Rini <trini@konsulko.com>2024-08-27 14:32:49 -0600
commitd6330529a57288c4ef37e6c23986015738e87063 (patch)
tree6c87fec74dec4f8f969b683e590d33ed92770491 /tools/patman/commit.py
parent6becf9ba1ab82af6f4fcf9f4d0da38f9c75212d2 (diff)
dm: core: fdtaddr: Avoid multiple calls to fdt_parent_offset()
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*. Re-use the returned value from a single call instead of having to make multiple calls for same nodeoffset. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/commit.py')
0 files changed, 0 insertions, 0 deletions