diff options
| author | Simon Glass <[email protected]> | 2022-09-06 20:27:24 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-29 22:43:43 -0400 |
| commit | b7bd94f1a8a63cd4f947036e0d42ee2e23852d64 (patch) | |
| tree | cb26f7ac2255dd93940b22859fea9f1b7b34759f /boot/vbe_simple.c | |
| parent | 2187cb7e4aaae7a4ed7318a073b26dff462cb7a1 (diff) | |
dm: core: Split ofnode_path_root() into two functions
This function turns out to be a little confusing since it looks up a path
and also registers the tree. Split it into two, one that gets the root
node and one that looks up a path, so the purpose is clear.
Registering the tree will happen in a function to be added in a later
patch, called oftree_from_fdt().
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot/vbe_simple.c')
| -rw-r--r-- | boot/vbe_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/vbe_simple.c b/boot/vbe_simple.c index 0fc57388f35..61b6322ebe2 100644 --- a/boot/vbe_simple.c +++ b/boot/vbe_simple.c @@ -240,7 +240,7 @@ static int bootmeth_vbe_simple_ft_fixup(void *ctx, struct event *event) continue; /* Check if there is a node to fix up */ - node = ofnode_path_root(tree, "/chosen/fwupd"); + node = oftree_path(tree, "/chosen/fwupd"); if (!ofnode_valid(node)) continue; node = ofnode_find_subnode(node, dev->name); |
