lib/device_tree: Add method to get phandle
commitc38960d7f3fd929fa916ac696fcfb8a7b5534c8d
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 8 May 2018 09:18:54 +0000 (8 11:18 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 14 Jun 2018 09:25:41 +0000 (14 09:25 +0000)
treeceb82c1e80e285494cf1f941e87c264707b85809
parent79d26c7a83fd2b14cc9a787e7820824931336d85
lib/device_tree: Add method to get phandle

Add a method to retrieve a node's phandle.
Useful for board specific devicetree manipulations.

Change-Id: I966151ad7e82fc678ab4f56cf9b5868ef39398e0
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/26191
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/include/device_tree.h
src/lib/device_tree.c