[PATCH 1/8] dm: core: add ofnode_for_each_compatible_node()
sjg at chromium.org
Thu Oct 14 17:11:23 CEST 2021
On Wed, 13 Oct 2021 at 11:44, Michael Walle <michael at walle.cc> wrote:
> Add a helper to iterate over all nodes with a given compatible string.
> Signed-off-by: Michael Walle <michael at walle.cc>
> include/dm/ofnode.h | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
Can you add a test for it in test/dm/ofnode.c?
More information about the U-Boot