]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Add a function to obtain a list of phandles
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jul 2018 19:25:46 +0000 (13:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 1 Aug 2018 22:30:48 +0000 (16:30 -0600)
commitb12d037b0f85ac755b2e332dfbb78e4da39a4ee9
treee3e937979b0820915341f4272e8a5b8918e2eac5
parent47d893824f413d841af32e43ffcf20bd4b636ce3
dtoc: Add a function to obtain a list of phandles

Add a function which can decode a property containing a list of phandles.
This is useful for finding nodes linked to a property. Also provide a way
to look up a single phandle and get the Fdt object from a Node.

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