commit | 176dd43797f98aea7f16ab8ab3357e14b36dd9a9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Sep 06 20:26:57 2022 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 29 16:07:58 2022 -0400 |
tree | 8e74ee7de940010449347df9c7d04ba4afbb551f | |
parent | b169e210cd09fb24f6b85fe95b42ead111ddeb5a [diff] |
dm: core: Pass a root node to of_find_node_by_phandle() This function currently assumes that the control FDT is used. Update it to allow a root node to be passed, so it can work with any tree. Also add a comment to ofnode_get_by_phandle() so that its purpose is clear. Signed-off-by: Simon Glass <sjg@chromium.org>