]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add an ofnode function to get the devicetree root
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2020 00:50:07 +0000 (17:50 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:18 +0000 (07:58 -0700)
commitd0c20ce6bcb9af3d70ed6ada618607ca1099e811
treebc04f32a35dfd54b571512fa792085130d228ed4
parente80be7493412e0facbbf81f709dc44740e975dea
dm: core: Add an ofnode function to get the devicetree root

This is needed in at least one place. Avoid the conditional code in root.c
by adding this inline function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
include/dm/ofnode.h