dtoc: Make use of the new pylibfdt methods
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jul 2018 16:27:26 +0000 (10:27 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
commit117f57b75aee2e145d2d23107f600d869b04231a
tree8ca1e3a5fdde927b9e51add48468ae835cd72ead
parent57f0bc428aeecbc30a89a10be05fa69fd3e64aef
dtoc: Make use of the new pylibfdt methods

Now that pylibfdt supports a fuller API we don't need to directly call
the libfdt stubs. Update the code to use the Fdt methods instead.

Some other cases remain which will be tidied up in a later commit, since
they need larger changes.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/fdt.py