dtoc: Make is_phandle() a member function
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:54 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:27:47 +0000 (05:27 -0600)
commit2925c26bb2b5450349c2080cac764c18e15a052e
tree21129102fcbcc4efca0955b5f242180da36acb6c
parent72ab7c5e384f415b66dc9bef41db928cfc11c310
dtoc: Make is_phandle() a member function

This function will need to have access to class members once we enhance it
to support multiple phandle values. In preparation for that, move it into
the class.

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