device_tree: Add qemu_fdt_node_unit_path
commitf963cc26dfd7832b6371c312a817a1950bfe398a
authorEric Auger <eric.auger@redhat.com>
Fri, 29 Jun 2018 14:11:01 +0000 (29 15:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jun 2018 14:11:01 +0000 (29 15:11 +0100)
tree48376d69c0179a572cb4f528ba2d2a4a3e36c469
parent38754e43f605be90f0603631f257b3bc2d115126
device_tree: Add qemu_fdt_node_unit_path

This helper allows to retrieve the paths of nodes whose name
match node-name or node-name@unit-address patterns.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 1530044492-24921-2-git-send-email-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
device_tree.c
include/sysemu/device_tree.h