]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Complete phandle implementation using the other FDT
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:27 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Sep 2022 02:43:43 +0000 (22:43 -0400)
commit4a4dade95e8e87a7dda5e1d8772dad8a100cf726
treeaec2be17ce4278246bdf92af15f5eefc060628dc
parente43db5ddcdf1bca38a7a6cf22bd0f9d6279a285e
dm: core: Complete phandle implementation using the other FDT

We need to be able to look up phandles in any FDT, not just the control
FDT. Use the 'other' FDT to test this, with a helper function which gets
this as an oftree that can then we used as needed.

Add a few more tests and some comments at the top of the file, to explain
what is going on.

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