dtoc: Rename is_phandle() and adjust it to return more detail
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:55 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:27:47 +0000 (05:27 -0600)
commit8fed2eb20c2ef95d69f9683ab07f0ea869616713
treeb5cd984fcbe4026ec75e6e03fb613bcbf8b1ff8a
parent2925c26bb2b5450349c2080cac764c18e15a052e
dtoc: Rename is_phandle() and adjust it to return more detail

Update this function to return more detail about a property that contains
phandles. This will allow (in a future commit) more accurate handling of
these properties.

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