]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Split ofnode_path_root() into two functions
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:24 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Sep 2022 02:43:43 +0000 (22:43 -0400)
commitd8abb40f422159c39a894d916eb439a4ab610769
treecb26f7ac2255dd93940b22859fea9f1b7b34759f
parent438c83dd09fd6b7f7ee8abebbcb3ff8e83fbfcce
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 <sjg@chromium.org>
boot/vbe_simple.c
drivers/core/ofnode.c
include/dm/ofnode.h
test/boot/vbe_simple.c
test/dm/ofnode.c