]> git.proxmox.com Git - qemu.git/commit
dt: add helper for phandle enumeration
authorAlexander Graf <agraf@suse.de>
Thu, 17 May 2012 13:23:39 +0000 (15:23 +0200)
committerAlexander Graf <agraf@suse.de>
Sat, 23 Jun 2012 23:04:46 +0000 (01:04 +0200)
commit7d5fd1089c36391ffc53a694101f441ab8cbbc05
tree432e8bfdb22294e873b6c0c9c9b4e7386b7a0dbe
parentef5d833fc6f04119ded9fca294d26ce225d69490
dt: add helper for phandle enumeration

This patch adds a helper to search for a node's phandle by its path. This
is especially useful when the phandle is part of an array, not just a single
cell in which case qemu_devtree_setprop_phandle would be the easy choice.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
device_tree.c
device_tree.h