dtoc: Update the Fdt class to record phandles
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:52 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:27:47 +0000 (05:27 -0600)
commit09264e04330479fbe5bdb647619be4fd90735bfc
tree38600f35a011832e8bdfe15ce1d360da0b95be3a
parent5ec741fd84ec2c080a6c400feaaa7f335f5cb62f
dtoc: Update the Fdt class to record phandles

Add a map from phandles to nodes. This can be used by clients of the the
class instead of maintaining this themselves.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
tools/dtoc/fdt.py