diff options
author | Julius Werner <jwerner@chromium.org> | 2019-05-03 18:23:34 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-04 11:23:12 +0000 |
commit | f36d53c6539ec9e221a5005f00a56960f791a81f (patch) | |
tree | 4e0831fcfae86259f7dde3ef622fc7eb8f4e4e72 /src/southbridge/broadcom | |
parent | 6702b68a7966d584e310bf7a99f4a1dc57f2f56f (diff) | |
download | coreboot-f36d53c6539ec9e221a5005f00a56960f791a81f.tar.xz |
device_tree: Drop sub-node path lookup from dt_find_node_by_path()
Besides looking up a node with an absolute path dt_find_node_by_path()
currently also supports finding a sub-node of a non-root node. All
callers of the function pass the root node though, so it seems there
is no real need for this functionality. Also it is planned to support
DT path names with aliases, which would become messy in combination with
the lookup from a sub-node.
Change the interface of dt_find_node_by_path() to receive the DT tree
object instead of a parent node and adapt all callers accordingly.
This patch was adapted from depthcharge's http://crosreview.com/1252769
Change-Id: Iff56be4da2461ae73a7301dcaa315758d2a8c999
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32864
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/broadcom')
0 files changed, 0 insertions, 0 deletions