dtc/pylibfdt
Simon Glass 24b1f3f064 pylibfdt: Add a method to access the device tree directly
When calling libfdt functions which are not supported by the Fdt class it
is necessary to get direct access to the device tree data. At present this
requries using the internal _fdt member. Add a new method to provide
public access to this, without allowing the data to be changed.

Note that a bytearray type is returned rather than str, since the swig
types are set up for bytearray to map correctly to const void *.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-06-04 18:18:38 +10:00
..
.gitignore Add an initial Python library for libfdt 2017-03-21 16:21:58 +11:00
libfdt.i pylibfdt: Add a method to access the device tree directly 2018-06-04 18:18:38 +10:00
Makefile.pylibfdt pylibfdt: Use setup.py to build the swig file 2017-04-08 11:54:07 +10:00
setup.py pylibfdt: Use Python2 explicitly 2017-09-27 18:10:02 +10:00