Skip to content
Commit b7bd94f1 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 2187cb7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment